/ TYWZ /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:21: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(s[p]==s[next[p]]){
                     ^
/in/foo.cc:19:19: warning: array subscript has type 'char' [-Wchar-subscripts]
     s[p]=s[next[p]]=0;
                   ^
/in/foo.cc:21:20: warning: array subscript has type 'char' [-Wchar-subscripts]
      p=next[next[p]];
                    ^
/in/foo.cc:24:17: warning: array subscript has type 'char' [-Wchar-subscripts]
     next[last[p]]=next[next[p]];
                 ^
/in/foo.cc:24:31: warning: array subscript has type 'char' [-Wchar-subscripts]
     next[last[p]]=next[next[p]];
                               ^
/in/foo.cc:25:20: warning: array subscript has type 'char' [-Wchar-subscripts]
     if(next[next[p]]!=-1)
                    ^
/in/foo.cc:26:22: warning: array subscript has type 'char' [-Wchar-subscripts]
     last[next[next[p]]]=last[p]; 
                      ^
/in/foo.cc:26:23: warning: array subscript has type 'char' [-Wchar-subscripts]
     last[next[next[p]]]=last[p]; 
                       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 604.0 KiB
#2 Time Exceeded ≥1000ms ≥612.0 KiB
#3 Time Exceeded ≥1001ms ≥608.0 KiB
#4 Time Exceeded ≥1002ms ≥608.0 KiB
#5 Time Exceeded ≥1000ms ≥736.0 KiB
#6 Time Exceeded ≥1001ms ≥740.0 KiB
#7 Time Exceeded ≥1000ms ≥728.0 KiB
#8 Time Exceeded ≥1000ms ≥736.0 KiB
#9 Time Exceeded ≥1001ms ≥732.0 KiB
#10 Time Exceeded ≥1005ms ≥856.0 KiB

信息

递交者
类型
递交
题目
2019.2.11 Problem A - string
比赛
2019.2.11测验
语言
C++
递交时间
2019-02-11 17:09:41
评测时间
2019-02-11 17:09:41
评测机
分数
10
总耗时
≥9016ms
峰值内存
≥856.0 KiB