/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:49:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(rc > s && abs(s - rc) > ls)
                 ~~~~~~~~~~~~^~~~
/in/foo.cc:60:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(abs(s - rc) < ls)
       ~~~~~~~~~~~~^~~~
/in/foo.cc:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(abs(s - rc) < ls)
       ~~~~~~~~~~~~^~~~
/in/foo.cc:16:24: warning: unused variable 'ctr' [-Wunused-variable]
     unsigned long long ctr, cvr, ls = 0xFFFFFFFFFFFFFFFFLL;
                        ^~~
/in/foo.cc:16:29: warning: unused variable 'cvr' [-Wunused-variable]
     unsigned long long ctr, cvr, ls = 0xFFFFFFFFFFFFFFFFLL;
                             ^~~
/in/foo.cc:74:3: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(w[i] >= mid)
   ^~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.348 MiB
#2 Accepted 4ms 4.25 MiB
#3 Accepted 3ms 4.34 MiB
#4 Accepted 3ms 2.363 MiB
#5 Accepted 5ms 2.254 MiB
#6 Accepted 5ms 4.375 MiB
#7 Accepted 8ms 2.359 MiB
#8 Accepted 11ms 2.25 MiB
#9 Accepted 9ms 2.367 MiB
#10 Accepted 11ms 4.324 MiB
#11 Accepted 24ms 2.375 MiB
#12 Accepted 29ms 2.375 MiB
#13 Accepted 20ms 2.375 MiB
#14 Accepted 27ms 2.473 MiB
#15 Accepted 92ms 2.875 MiB
#16 Accepted 81ms 4.5 MiB
#17 Accepted 150ms 3.75 MiB
#18 Accepted 208ms 4.125 MiB
#19 Accepted 204ms 4.25 MiB
#20 Wrong Answer 269ms 4.977 MiB

信息

递交者
类型
递交
题目
P1740 聪明的质检员
语言
C++
递交时间
2018-07-22 16:26:34
评测时间
2018-07-22 16:26:34
评测机
分数
95
总耗时
1175ms
峰值内存
4.977 MiB