记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:37:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
                ^
/in/foo.cc:38:50: 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:15: 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 ≥258ms ≥54.75 MiB
#2 Accepted 131ms 45.25 MiB

信息

递交者
类型
递交
题目
AC自动机模板题
语言
C++
递交时间
2017-03-19 20:11:06
评测时间
2017-04-05 10:25:15
评测机
分数
50
总耗时
≥389ms
峰值内存
≥54.75 MiB