/ C++党 /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=ans[0];i++) printf("%c=%d ",ans[i]+'A',a[ans[i]]-1);printf("\n");
  ^~~
/in/foo.cc:31:69: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<=ans[0];i++) printf("%c=%d ",ans[i]+'A',a[ans[i]]-1);printf("\n");
                                                                     ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 352.0 KiB
#3 Accepted 2ms 368.0 KiB
#4 Accepted 2ms 360.0 KiB

信息

递交者
类型
递交
题目
[noip1998]加法表
语言
C++
递交时间
2018-10-19 14:05:48
评测时间
2018-10-19 14:05:48
评测机
分数
100
总耗时
11ms
峰值内存
368.0 KiB