/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if(pos>n)pos-=n;continue;
                 ^~
/in/foo.cc:24:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                 if(pos>n)pos-=n;continue;
                                 ^~~~~~~~
/in/foo.cc:29:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if(pos<=0)pos+=n;continue;
                 ^~
/in/foo.cc:29:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                 if(pos<=0)pos+=n;continue;
                                  ^~~~~~~~
/in/foo.cc:37:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if(pos<=0)pos+=n;continue;
                 ^~
/in/foo.cc:37:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                 if(pos<=0)pos+=n;continue;
                                  ^~~~~~~~
/in/foo.cc:42:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if(pos>n)pos-=n;continue;
                 ^~
/in/foo.cc:42:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                 if(pos>n)pos-=n;continue;
                                 ^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.344 MiB
#2 Accepted 4ms 380.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 4ms 2.258 MiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 4ms 388.0 KiB
#7 Accepted 3ms 376.0 KiB
#8 Accepted 4ms 2.363 MiB
#9 Accepted 3ms 372.0 KiB
#10 Accepted 3ms 368.0 KiB
#11 Accepted 4ms 2.25 MiB
#12 Accepted 4ms 256.0 KiB
#13 Accepted 4ms 380.0 KiB
#14 Accepted 4ms 384.0 KiB
#15 Accepted 4ms 2.34 MiB
#16 Accepted 3ms 2.332 MiB
#17 Accepted 62ms 3.375 MiB
#18 Accepted 55ms 3.359 MiB
#19 Accepted 60ms 3.371 MiB
#20 Accepted 63ms 3.25 MiB

信息

递交者
类型
递交
题目
P2003 玩具谜题
语言
C++
递交时间
2018-05-30 19:30:54
评测时间
2018-05-30 19:30:54
评测机
分数
100
总耗时
309ms
峰值内存
3.375 MiB