/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void Read(_T&)':
/in/foo.cc:14:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(_t=='-')_flag=1,_t=getchar();_x=_t-'0';
  ^~
/in/foo.cc:14:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(_t=='-')_flag=1,_t=getchar();_x=_t-'0';
                                  ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:87:38: warning: operation on 'L' may be undefined [-Wsequence-point]
  while((t=getchar())!=' '&&t!='\n')a[++L]=c[L]=t;
                                      ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Wrong Answer 1ms 356.0 KiB
#3 Accepted 3ms 352.0 KiB
#4 Accepted 2ms 372.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2018-09-30 22:47:17
评测时间
2018-09-30 22:47:17
评测机
分数
75
总耗时
9ms
峰值内存
372.0 KiB