/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int getint()':
/in/foo.cc:24:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar(); 
     ^~~~~
/in/foo.cc:24:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar(); 
                                                    ^~
/in/foo.cc:25:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
     ^~~~~
/in/foo.cc:25:57: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
                                                         ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.25 MiB
#2 Accepted 5ms 2.57 MiB
#3 Accepted 8ms 4.875 MiB
#4 Accepted 29ms 7.375 MiB
#5 Accepted 27ms 13.098 MiB
#6 Accepted 78ms 18.375 MiB
#7 Accepted 219ms 25.59 MiB
#8 Accepted 166ms 31.062 MiB
#9 Accepted 282ms 31.199 MiB
#10 Accepted 305ms 31.125 MiB

信息

递交者
类型
递交
题目
P1351 棋盘制作
语言
C++
递交时间
2017-10-31 15:54:16
评测时间
2017-10-31 15:54:16
评测机
分数
100
总耗时
1127ms
峰值内存
31.199 MiB