/ Vijos /

记录详情

Accepted

/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:88:38: warning: operation on 'L' may be undefined [-Wsequence-point]
  while((t=getchar())!=' '&&t!='\n')a[++L]=c[L]=t;
                                      ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 360.0 KiB
#2 Accepted 4ms 368.0 KiB
#3 Accepted 3ms 372.0 KiB
#4 Accepted 2ms 208.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2018-09-30 23:07:00
评测时间
2018-09-30 23:07:00
评测机
分数
100
总耗时
13ms
峰值内存
372.0 KiB