/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int use(int, std::vector<int>)':
/in/foo.cc:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < medi.size(); i++) {
                  ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (temp != state)
        ^
/in/foo.cc:34:6: warning: unused variable 'drug' [-Wunused-variable]
  int drug=0,tmp;
      ^~~~
/in/foo.cc:34:13: warning: unused variable 'tmp' [-Wunused-variable]
  int drug=0,tmp;
             ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 216.0 KiB
#2 Accepted 2ms 228.0 KiB
#3 Wrong Answer 2ms 216.0 KiB
#4 Time Exceeded ≥1000ms ≥31.965 MiB
#5 Accepted 2ms 208.0 KiB
#6 Accepted 3ms 336.0 KiB
#7 Accepted 2ms 212.0 KiB
#8 Time Exceeded ≥1002ms ≥31.59 MiB
#9 Accepted 11ms 436.0 KiB
#10 Accepted 33ms 868.0 KiB

信息

递交者
类型
递交
题目
P1026 毒药?解药?
语言
C++
递交时间
2020-06-09 16:32:07
评测时间
2020-06-09 16:32:07
评测机
分数
70
总耗时
≥2063ms
峰值内存
≥31.965 MiB