Daidly @ 2020-04-24 20:48:42
有大佬能帮我解释一下这道题的意思吗
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,x,y,sum=0;
cin>>a>>b;
for(int i=0;i<=a;i++){
cin>>x;
for(int j=0;j<=b;j++){
cin>>y;
sum=sum+max(x,y)-min(x,y);
}
}cout<<sum;
return 0;
}
orzorz
by Surelysuper @ 2020-04-24 20:49:04
没有
by Daidly @ 2020-04-24 20:49:57
。。。。。。
by 迷残云 @ 2020-04-24 20:53:42
应该写的代码就是那个意思
by 迷残云 @ 2020-04-24 20:53:53
虽然我是蒟蒻
by MY(一名蒟蒻) @ 2020-04-24 20:59:42
Alan Walker头像好评
by 翼德天尊 @ 2020-04-24 21:07:26
大佬来喽
by 翼德天尊 @ 2020-04-24 21:07:45
@Daidly 还在不?
by 翼德天尊 @ 2020-04-24 21:08:31
@Daidly 你要这道题的解释还是这个代码的解释,让本尊(逃)给你解释一下
by Daidly @ 2020-04-24 21:15:21
@翼德天尊 orz%%%
by 翼德天尊 @ 2020-04-24 21:15:43
……你的错误太多了……