/ Vijos /

记录详情

Wrong Answer

/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:55:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
      if (temp != state)
         ^
/in/foo.cc:35:6: warning: unused variable 'drug' [-Wunused-variable]
  int drug=0,tmp;
      ^~~~
/in/foo.cc:35:13: warning: unused variable 'tmp' [-Wunused-variable]
  int drug=0,tmp;
             ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 232.0 KiB
#2 Accepted 2ms 216.0 KiB
#3 Wrong Answer 2ms 228.0 KiB
#4 Wrong Answer 6ms 316.0 KiB
#5 Accepted 2ms 268.0 KiB
#6 Accepted 2ms 220.0 KiB
#7 Accepted 2ms 232.0 KiB
#8 Accepted 13ms 316.0 KiB
#9 Accepted 2ms 220.0 KiB
#10 Accepted 2ms 220.0 KiB

信息

递交者
类型
递交
题目
P1026 毒药?解药?
语言
C++
递交时间
2020-06-09 16:49:45
评测时间
2020-06-09 16:49:45
评测机
分数
80
总耗时
39ms
峰值内存
316.0 KiB