记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:37:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
                   ^
/in/foo.cc:38:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1;i<=n;i++)scanf("%s",p),Flower.ins(p);
                                                     ^
/in/foo.cc:40:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%s",p);int ans=Flower.query(p);
                  ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥256ms ≥54.715 MiB
#2 Accepted 128ms 44.297 MiB

信息

递交者
类型
递交
题目
AC自动机模板题
语言
C++
递交时间
2017-04-05 10:27:51
评测时间
2017-04-05 10:27:51
评测机
分数
50
总耗时
≥385ms
峰值内存
≥54.715 MiB