/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int read()':
/in/foo.cc:18:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(ch=getchar(),!isdigit(ch)) if(ch=='-') f=-1;x=(ch^48);
     ^~~~~
/in/foo.cc:18:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(ch=getchar(),!isdigit(ch)) if(ch=='-') f=-1;x=(ch^48);
                                                       ^
# 状态 耗时 内存占用
#1 Accepted 2ms 336.0 KiB
#2 Wrong Answer 1ms 360.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Wrong Answer 1ms 356.0 KiB
#5 Wrong Answer 21ms 348.0 KiB
#6 Wrong Answer 4ms 348.0 KiB
#7 Wrong Answer 23ms 348.0 KiB
#8 Wrong Answer 5ms 336.0 KiB
#9 Wrong Answer 15ms 336.0 KiB
#10 Wrong Answer 24ms 348.0 KiB

信息

递交者
类型
递交
题目
P1046 观光旅游
语言
C++
递交时间
2020-07-16 11:58:35
评测时间
2020-07-16 11:58:35
评测机
分数
20
总耗时
102ms
峰值内存
360.0 KiB