/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int read()':
/in/foo.cc:7:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar());
                        ~~~~~~~^~~~~~~
/in/foo.cc: In function 'int main(int, const char**)':
/in/foo.cc:37:33: warning: 'pa' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (pa != cnt && abs(fst[pa + 1] - i) < res) {
                              ~~~^~~
# 状态 耗时 内存占用
#1 Accepted 6ms 384.0 KiB
#2 Accepted 9ms 2.25 MiB
#3 Accepted 8ms 492.0 KiB
#4 Accepted 8ms 512.0 KiB
#5 Accepted 5ms 2.375 MiB
#6 Accepted 9ms 368.0 KiB
#7 Accepted 24ms 2.363 MiB
#8 Accepted 20ms 2.363 MiB
#9 Accepted 27ms 2.605 MiB
#10 Accepted 25ms 896.0 KiB
#11 Accepted 25ms 2.371 MiB
#12 Accepted 12ms 620.0 KiB
#13 Accepted 13ms 2.355 MiB
#14 Accepted 10ms 384.0 KiB
#15 Accepted 27ms 2.375 MiB
#16 Accepted 18ms 2.332 MiB
#17 Accepted 27ms 620.0 KiB
#18 Accepted 138ms 1.625 MiB
#19 Accepted 56ms 2.348 MiB
#20 Accepted 147ms 2.0 MiB

信息

递交者
类型
递交
题目
P1987 游戏
语言
C++
递交时间
2018-05-23 18:21:24
评测时间
2018-05-23 18:21:25
评测机
分数
100
总耗时
626ms
峰值内存
2.605 MiB