Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |             if (val[s[j]])
      |                         ^
/in/foo.cc:19:21: warning: array subscript has type 'char' [-Wchar-subscripts]
   19 |             val[s[j]] = 1;
      |                     ^
# 状态 耗时 内存占用
#1 Accepted 2ms 876.0 KiB
#2 Accepted 2ms 732.0 KiB
#3 Accepted 2ms 740.0 KiB
#4 Accepted 2ms 764.0 KiB
#5 Accepted 2ms 716.0 KiB
#6 Accepted 2ms 744.0 KiB
#7 Accepted 2ms 732.0 KiB
#8 Accepted 2ms 732.0 KiB
#9 Accepted 19ms 956.0 KiB
#10 Time Exceeded ≥1005ms ≥1.762 MiB

信息

递交者
类型
递交
题目
P2979 划分字符串
语言
C++
递交时间
2025-10-26 09:17:52
评测时间
2025-10-26 09:17:52
评测机
分数
90
总耗时
≥1045ms
峰值内存
≥1.762 MiB