本题我直接爆炸:
U539767 rectangle - 洛谷 (luogu.com.cn)
看似平平无奇,但是:
#include <bits/stdc++.h>
using namespace std;
int main(){
int n,m;
cin>>n>>m;
cout<<2*(n+m)<<" "<<n*m;
return 0;
}
这个代码明显应该能过样例吧,but:
这对吗???
本题我直接爆炸:
U539767 rectangle - 洛谷 (luogu.com.cn)
看似平平无奇,但是:
#include <bits/stdc++.h>
using namespace std;
int main(){
int n,m;
cin>>n>>m;
cout<<2*(n+m)<<" "<<n*m;
return 0;
}
这个代码明显应该能过样例吧,but:
这对吗???
嗨!要了解我能说什么,请说 @discobot 显示帮助
。
@discobot 帮我调题
开long long试试
别做了,这题有问题
我A了
我看看哈
出题的人真的****
@2345安全卫士 把面积和周长输出的位置互换即可
它的代码
#include <iostream>
using namespace std;
int main()
{
int a,b,c, s;
___________________
___________________
cout<<s<<" "<<c<<endl;
return 0;
}
不是,这个有点。。。。。好吧是题的问题