/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void re(_T&)':
/in/foo.cc:19:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(!isdigit(c=getchar())) if(c=='-') k=!k; x=c^48;
     ^~~~~
/in/foo.cc:19:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(!isdigit(c=getchar())) if(c=='-') k=!k; x=c^48;
                                                   ^
/in/foo.cc: In function 'void wr(_T, char)':
/in/foo.cc:27:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(*s) putchar(*s--); putchar(ch);
     ^~~~~
/in/foo.cc:27:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(*s) putchar(*s--); putchar(ch);
                              ^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 104ms 1.598 MiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 3ms 356.0 KiB
#4 Accepted 13ms 372.0 KiB
#5 Wrong Answer 17ms 628.0 KiB
#6 Accepted 35ms 896.0 KiB
#7 Accepted 45ms 1.25 MiB
#8 Accepted 63ms 2.5 MiB
#9 Accepted 109ms 1.73 MiB
#10 Accepted 105ms 1.871 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2018-08-06 21:01:55
评测时间
2018-08-06 21:01:55
评测机
分数
90
总耗时
500ms
峰值内存
2.5 MiB