社区讨论
一种新颖的想法但是40分求条
B2036输出绝对值参与者 5已保存回复 5
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 5 条
- 当前快照
- 1 份
- 快照标识符
- @mhj0u71o
- 此快照首次捕获于
- 2025/11/03 18:52 4 个月前
- 此快照最后确认于
- 2025/11/03 18:52 4 个月前
CPP
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);cout.tie(0);
string s;
cin >> s;
if(s[0]=='-'){s.erase(s.begin());}
cout << s;
return 0;
}
40分求条
回复
共 5 条回复,欢迎继续交流。
正在加载回复...