MaskedFools_Sparkle @ 2024-03-15 22:20:57
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
a=abs(a);
b=abs(b);
cout<<a+b;
return 0;
}
by Mr_Clock @ 2024-03-27 20:53:30
楼主,把a=abs(a); b=abs(b); 删掉就行了
by GeorgeCHN @ 2024-04-02 18:07:51
不是怎么这么多人把这道7行搞定的题硬整成一大堆。。。
by GeorgeCHN @ 2024-04-07 17:46:42
您好歹是绿名啊,这也错
by MaskedFools_Sparkle @ 2024-07-26 17:44:12
@GeorgeCHN 我蓝冥
by GeorgeCHN @ 2024-07-26 17:51:00
@ChenyuanLi 你曾经是,后来摆烂了。Dream CHN也是
by MaskedFools_Sparkle @ 2024-07-26 18:41:45
@GeorgeCHN 我之前是绿名吗?
by Lucas2024 @ 2025-01-02 20:22:03