记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:42: 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 Wrong Answer 123ms 122.289 MiB
#2 Wrong Answer 123ms 122.332 MiB
#3 Wrong Answer 122ms 122.293 MiB
#4 Time Exceeded ≥1002ms ≥138.75 MiB
#5 Time Exceeded ≥1002ms ≥138.719 MiB
#6 Time Exceeded ≥1001ms ≥138.75 MiB
#7 Time Exceeded ≥1000ms ≥138.754 MiB
#8 Time Exceeded ≥1001ms ≥138.746 MiB
#9 Time Exceeded ≥1002ms ≥138.746 MiB
#10 Time Exceeded ≥1003ms ≥138.75 MiB

信息

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