/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:10:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while(ch = getchar())
                        ^
/in/foo.cc:10:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(ch = getchar())
     ^~~~~
/in/foo.cc:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  t = ch - '0';
  ^
/in/foo.cc:14:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while(ch = getchar())
                        ^
# 状态 耗时 内存占用
#1 Accepted 6ms 12.297 MiB
#2 Accepted 6ms 16.293 MiB
#3 Accepted 4ms 12.297 MiB
#4 Accepted 6ms 16.211 MiB
#5 Accepted 5ms 12.32 MiB
#6 Accepted 7ms 16.34 MiB
#7 Accepted 7ms 16.375 MiB
#8 Accepted 5ms 12.301 MiB
#9 Accepted 4ms 12.293 MiB
#10 Accepted 6ms 14.207 MiB
#11 Accepted 27ms 22.43 MiB
#12 Accepted 31ms 26.453 MiB
#13 Accepted 61ms 22.59 MiB
#14 Accepted 71ms 24.574 MiB
#15 Accepted 88ms 28.922 MiB
#16 Accepted 89ms 29.16 MiB
#17 Accepted 66ms 22.977 MiB
#18 Accepted 76ms 24.57 MiB
#19 Accepted 85ms 24.656 MiB
#20 Accepted 279ms 46.516 MiB

信息

递交者
类型
递交
题目
P1983 运输计划
语言
C++
递交时间
2019-07-19 09:37:09
评测时间
2019-07-19 09:38:06
评测机
分数
100
总耗时
940ms
峰值内存
46.516 MiB