记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(w.size()<k-1)
        ~~~~~~~~^~~~
/in/foo.cc:36:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(w.size()<k-1)
        ~~~~~~~~^~~~
/in/foo.cc:40:16: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
      if(w.top()>x^u)
         ~~~~~~~^~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 192.0 KiB
#2 Runtime Error 2ms 204.0 KiB
#3 Wrong Answer 9ms 320.0 KiB
#4 Wrong Answer 122ms 572.0 KiB
#5 Accepted 100ms 720.0 KiB
#6 Accepted 170ms 1.305 MiB
#7 Accepted 203ms 1.121 MiB
#8 Wrong Answer 62ms 588.0 KiB
#9 Wrong Answer 132ms 840.0 KiB
#10 Wrong Answer 125ms 952.0 KiB

信息

递交者
类型
递交
题目
2.K优先队列(queue)
题目数据
下载
语言
C++
递交时间
2018-10-31 21:21:12
评测时间
2018-10-31 21:21:12
评测机
分数
30
总耗时
930ms
峰值内存
1.305 MiB