记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    } while (s[j] *i<= t&&i%s[j]&&j<s.size());
                                  ~^~~~~~~~~
/in/foo.cc:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j = 0; j < s.size(); j++) {
                    ~~^~~~~~~~~~
/in/foo.cc:50:17: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
    v[i]=v[i]+v[i/p];
                ~^~
# 状态 耗时 内存占用
#1 Runtime Error 103ms 122.324 MiB
#2 Runtime Error 102ms 122.367 MiB
#3 Runtime Error 103ms 122.27 MiB
#4 Runtime Error 101ms 122.293 MiB
#5 Runtime Error 103ms 122.301 MiB
#6 Runtime Error 101ms 122.293 MiB
#7 Runtime Error 103ms 122.367 MiB
#8 Runtime Error 100ms 122.27 MiB
#9 Runtime Error 103ms 122.27 MiB
#10 Runtime Error 103ms 122.355 MiB

信息

递交者
类型
递交
题目
P1014 猜数(Round 2)
语言
C++
递交时间
2021-02-09 14:34:19
评测时间
2021-02-09 14:34:19
评测机
分数
0
总耗时
1027ms
峰值内存
122.367 MiB