记录详情

Time Exceeded

/in/foo.cc: In member function 'long long int Solution::countSubstringsWithKDistinctChars(std::__cxx11::string, int)':
/in/foo.cc:15:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (chars.size() == k) {
                     ~~~~~~~~~~~~~^~~~
/in/foo.cc:18:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 else if (chars.size() > k) {
                          ~~~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 424.0 KiB
#2 Accepted 2ms 336.0 KiB
#3 Accepted 5ms 424.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 1ms 348.0 KiB
#6 Accepted 1ms 356.0 KiB
#7 Accepted 2ms 424.0 KiB
#8 Accepted 5ms 424.0 KiB
#9 Accepted 1ms 332.0 KiB
#10 Accepted 1ms 376.0 KiB
#11 Accepted 1ms 416.0 KiB
#12 Accepted 3ms 424.0 KiB
#13 Accepted 1107ms 2.453 MiB
#14 Time Exceeded ≥2001ms ≥2.414 MiB
#15 Accepted 480ms 2.457 MiB
#16 Accepted 597ms 2.453 MiB
#17 Time Exceeded ≥2000ms ≥2.387 MiB
#18 Time Exceeded ≥2000ms ≥2.379 MiB
#19 Time Exceeded ≥2003ms ≥2.375 MiB
#20 Time Exceeded ≥2004ms ≥2.398 MiB

信息

递交者
类型
递交
题目
P1568 Problem 1E. 子串计数
比赛
2024春 悬赏令第一周
语言
C++
递交时间
2024-04-20 21:26:13
评测时间
2024-04-20 22:58:14
评测机
分数
75
总耗时
≥12231ms
峰值内存
≥2.457 MiB