Accepted
/in/foo.cc: In function 'void work(int, int)':
/in/foo.cc:33:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(char i=c[end]-1;i>=c[begin]+1;i--)
^~~
/in/foo.cc:36:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%c",c[end]);
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:42:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin>>p1>>p2>>p3>>c+1;
~^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1379 字符串的展开
- 语言
- C++
- 递交时间
- 2018-10-03 19:42:49
- 评测时间
- 2018-10-03 19:42:49
- 评测机
- 分数
- 100
- 总耗时
- 31ms
- 峰值内存
- 384.0 KiB