/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int read()':
/in/foo.cc:11:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(!isdigit(c=gr())); int x=c^48;
     ^~~~~
/in/foo.cc:11:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     while(!isdigit(c=gr())); int x=c^48;
                              ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:74:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         mid = l + r >> 1;
               ~~^~~
# 状态 耗时 内存占用
#1 Accepted 9ms 2.559 MiB
#2 Accepted 4ms 2.566 MiB
#3 Accepted 4ms 2.559 MiB
#4 Accepted 4ms 2.691 MiB
#5 Accepted 5ms 2.684 MiB
#6 Accepted 5ms 2.941 MiB
#7 Accepted 10ms 3.059 MiB
#8 Accepted 4ms 2.691 MiB
#9 Accepted 4ms 2.684 MiB
#10 Accepted 5ms 2.816 MiB
#11 Accepted 17ms 7.355 MiB
#12 Accepted 21ms 8.5 MiB
#13 Accepted 28ms 13.777 MiB
#14 Accepted 31ms 15.441 MiB
#15 Runtime Error 11ms 11.961 MiB
#16 Runtime Error 13ms 12.238 MiB
#17 Accepted 34ms 8.59 MiB
#18 Accepted 39ms 9.254 MiB
#19 Accepted 47ms 10.035 MiB
#20 Accepted 144ms 24.984 MiB

信息

递交者
类型
递交
题目
P1983 运输计划
语言
C++
递交时间
2018-12-16 08:58:15
评测时间
2018-12-16 08:58:18
评测机
分数
90
总耗时
449ms
峰值内存
24.984 MiB