/ XMU_ACM /

记录详情

Runtime Error

foo.cc: In function 'int query(int, int, int)':
foo.cc:47:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0;i < pre.size();++i) {
                    ~~^~~~~~~~~~~~
foo.cc:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0;i < pre.size();++i) {
                    ~~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:61:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     read(n);printf("%d\n",n);
                            ^
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 0ms 128.0 KiB
#2 Runtime Error Segmentation fault 0ms 128.0 KiB
#3 Runtime Error Segmentation fault 0ms 128.0 KiB
#4 Runtime Error Segmentation fault 0ms 128.0 KiB
#5 Runtime Error Segmentation fault 0ms 128.0 KiB
#6 Runtime Error Segmentation fault 0ms 128.0 KiB
#7 Runtime Error Segmentation fault 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1074 选择
语言
C++
递交时间
2021-01-19 18:47:51
评测时间
2021-01-19 18:47:51
评测机
分数
0
总耗时
2ms
峰值内存
128.0 KiB