/ XMU_ACM /

记录详情

Runtime Error

foo.cc: In function 'int query(int, int, int)':
foo.cc:48:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0;i < pre.size();++i) {
                    ~~^~~~~~~~~~~~
foo.cc:55:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0;i < pre.size();++i) {
                    ~~^~~~~~~~~~~~
foo.cc:44:9: warning: unused variable 'cnt' [-Wunused-variable]
     int cnt = 0,pos = 0;
         ^~~
foo.cc:44:17: warning: unused variable 'pos' [-Wunused-variable]
     int cnt = 0,pos = 0;
                 ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.734 MiB
#2 Accepted 4ms 3.477 MiB
#3 Accepted 5ms 3.375 MiB
#4 Accepted 5ms 3.375 MiB
#5 Accepted 5ms 3.473 MiB
#6 Accepted 5ms 3.375 MiB
#7 Runtime Error Segmentation fault 14ms 6.613 MiB

信息

递交者
类型
递交
题目
P1074 选择
语言
C++
递交时间
2021-01-19 18:32:44
评测时间
2021-01-19 18:32:44
评测机
分数
90
总耗时
44ms
峰值内存
6.613 MiB