记录详情

Time Exceeded

/in/foo.cc: In function 'int countSubstrings(const string&, int)':
/in/foo.cc:8:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.length(); i++) {
                     ~~^~~~~~~~~~~~
/in/foo.cc:10:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j = i; j < s.length(); j++) {
                         ~~^~~~~~~~~~~~
/in/foo.cc:12:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (seen.size() == k) {
                 ~~~~~~~~~~~~^~~~
/in/foo.cc:14:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             } else if (seen.size() > k) {
                        ~~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 428.0 KiB
#2 Accepted 2ms 372.0 KiB
#3 Accepted 5ms 424.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 1ms 352.0 KiB
#6 Accepted 1ms 376.0 KiB
#7 Accepted 2ms 408.0 KiB
#8 Accepted 6ms 428.0 KiB
#9 Accepted 2ms 352.0 KiB
#10 Accepted 2ms 376.0 KiB
#11 Accepted 1ms 396.0 KiB
#12 Accepted 3ms 420.0 KiB
#13 Accepted 1128ms 2.309 MiB
#14 Time Exceeded ≥2002ms ≥2.309 MiB
#15 Accepted 478ms 2.402 MiB
#16 Accepted 597ms 2.309 MiB
#17 Time Exceeded ≥2001ms ≥2.398 MiB
#18 Time Exceeded ≥2001ms ≥2.328 MiB
#19 Time Exceeded ≥2001ms ≥2.312 MiB
#20 Time Exceeded ≥2004ms ≥2.328 MiB

信息

递交者
类型
递交
题目
P1568 Problem 1E. 子串计数
比赛
2024春 悬赏令第一周
语言
C++
递交时间
2024-04-11 11:03:52
评测时间
2024-04-20 22:57:42
评测机
分数
75
总耗时
≥12253ms
峰值内存
≥2.402 MiB