记录详情

Accepted

/in/foo.cc: In function 'int gi()':
/in/foo.cc:31:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while ((ch<'0' || ch>'9') && ch!='-') ch=getchar(); if (ch=='-') q=1,ch=getchar();
     ^~~~~
/in/foo.cc:31:57: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while ((ch<'0' || ch>'9') && ch!='-') ch=getchar(); if (ch=='-') q=1,ch=getchar();
                                                         ^~
/in/foo.cc:32:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while (ch>='0' && ch<='9') x=x*10+ch-48,ch=getchar(); return q ? -x : x;
     ^~~~~
/in/foo.cc:32:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while (ch>='0' && ch<='9') x=x*10+ch-48,ch=getchar(); return q ? -x : x;
                                                           ^~~~~~
/in/foo.cc: In function 'void work()':
/in/foo.cc:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (RG int i=1;i<=3;++i) a[0][i]=gi();sort(a[0]+1,a[0]+4); for (RG int i=1;i<=3;++i) a[1][i]=gi();sort(a[1]+1,a[1]+4);
     ^~~
/in/foo.cc:43:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (RG int i=1;i<=3;++i) a[0][i]=gi();sort(a[0]+1,a[0]+4); for (RG int i=1;i<=3;++i) a[1][i]=gi();sort(a[1]+1,a[1]+4);
                                            ^~~~
/in/foo.cc:52:24: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d\n",Ans+2*ans); return;
                       ~^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 208.0 KiB
#2 Accepted 4ms 360.0 KiB
#3 Accepted 3ms 368.0 KiB
#4 Accepted 4ms 348.0 KiB
#5 Accepted 3ms 360.0 KiB
#6 Accepted 4ms 368.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 4ms 380.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 3ms 368.0 KiB
#11 Accepted 1ms 372.0 KiB
#12 Accepted 3ms 384.0 KiB
#13 Accepted 2ms 296.0 KiB
#14 Accepted 3ms 348.0 KiB
#15 Accepted 3ms 368.0 KiB
#16 Accepted 3ms 384.0 KiB
#17 Accepted 3ms 364.0 KiB

信息

递交者
类型
递交
题目
跳跳棋
题目数据
下载
语言
C++
递交时间
2018-08-07 10:13:54
评测时间
2018-08-07 10:13:54
评测机
分数
170
总耗时
57ms
峰值内存
384.0 KiB