/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  cin>>s+1;
       ~^~
/in/foo.cc:40:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i=1;i<=length;i++)
   ^~~
/in/foo.cc:47:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    step++;
    ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 2ms 364.0 KiB
#3 Accepted 2ms 216.0 KiB
#4 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2018-10-13 10:06:11
评测时间
2018-10-13 10:06:11
评测机
分数
100
总耗时
11ms
峰值内存
384.0 KiB