/ Vijos /

记录详情

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;
                      ~^~
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Accepted 2ms 364.0 KiB
#3 Accepted 3ms 208.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 372.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 2ms 356.0 KiB
#9 Accepted 3ms 364.0 KiB
#10 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1379 字符串的展开
语言
C++
递交时间
2018-10-03 19:42:49
评测时间
2018-10-03 19:42:49
评测机
分数
100
总耗时
31ms
峰值内存
384.0 KiB