记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; s[j] * i <= t && j < s.size(); j++) {
                                    ~~^~~~~~~~~~
/in/foo.cc:35:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j = 0; j < s.size(); j++) {
                    ~~^~~~~~~~~~
/in/foo.cc:42:17: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
    v[i]=v[i]+v[i/p];
                ~^~
# 状态 耗时 内存占用
#1 Accepted 135ms 137.543 MiB
#2 Accepted 136ms 137.594 MiB
#3 Accepted 135ms 137.527 MiB
#4 Time Exceeded ≥1000ms ≥138.727 MiB
#5 Time Exceeded ≥1002ms ≥138.742 MiB
#6 Time Exceeded ≥1000ms ≥138.727 MiB
#7 Time Exceeded ≥1002ms ≥138.746 MiB
#8 Time Exceeded ≥1002ms ≥138.699 MiB
#9 Time Exceeded ≥1000ms ≥138.727 MiB
#10 Time Exceeded ≥1004ms ≥138.711 MiB

信息

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