记录详情

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 136ms 137.547 MiB
#2 Accepted 134ms 137.578 MiB
#3 Accepted 135ms 137.543 MiB
#4 Time Exceeded ≥1002ms ≥139.645 MiB
#5 Time Exceeded ≥1000ms ≥139.695 MiB
#6 Time Exceeded ≥1000ms ≥139.66 MiB
#7 Time Exceeded ≥1001ms ≥139.664 MiB
#8 Time Exceeded ≥1000ms ≥139.668 MiB
#9 Time Exceeded ≥1001ms ≥139.719 MiB
#10 Time Exceeded ≥1004ms ≥139.707 MiB

信息

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