Accepted
foo.cc: In function ‘int main()’: foo.cc:26:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 26 | for(int i=1;i<outstr.size();i++) | ~^~~~~~~~~~~~~~ foo.cc:27:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 27 | if(outstr[i-1]=='2'&&outstr[i]!='('&&outstr[i]!=')'
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1500 2的幂次方(power)
- 比赛
- 2024.7.15暑期高级1班练习
- 语言
- C++
- 递交时间
- 2024-07-15 15:56:54
- 评测时间
- 2024-07-15 15:56:54
- 评测机
- 分数
- 100
- 总耗时
- 15ms
- 峰值内存
- 764.0 KiB