记录详情

Time Exceeded

foo.cc: In function 'int find_kth_fa(int, int)':
foo.cc:37:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   37 |  if(k>d[x])return 0;if(k==0)return x;
      |  ^~
foo.cc:37:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   37 |  if(k>d[x])return 0;if(k==0)return x;
      |                     ^~
foo.cc: In function 'int main()':
foo.cc:46:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:48:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   48 |   int x,y;scanf("%d%d",&x,&y);
      |           ~~~~~^~~~~~~~~~~~~~
foo.cc:64:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   64 |  int q;scanf("%d",&q);
      |        ~~~~~^~~~~~~~~
foo.cc:67:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   67 |   int x,k;scanf("%d%d",&x,&k);
      |           ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 21ms 14.367 MiB
#2 Accepted 20ms 14.492 MiB
#3 Accepted 17ms 14.375 MiB
#4 Accepted 19ms 14.5 MiB
#5 Accepted 18ms 14.375 MiB
#6 Accepted 273ms 42.137 MiB
#7 Accepted 271ms 42.301 MiB
#8 Accepted 323ms 41.953 MiB
#9 Accepted 212ms 35.621 MiB
#10 Accepted 258ms 35.484 MiB
#11 Accepted 203ms 35.609 MiB
#12 Accepted 234ms 35.516 MiB
#13 Accepted 316ms 39.613 MiB
#14 Accepted 305ms 39.445 MiB
#15 Accepted 384ms 39.477 MiB
#16 Accepted 480ms 39.477 MiB
#17 Accepted 300ms 37.801 MiB
#18 Accepted 274ms 37.715 MiB
#19 Accepted 377ms 37.809 MiB
#20 Time Exceeded ≥1018ms ≥87.941 MiB

信息

递交者
类型
递交
题目
lxhgww的奇思妙想
语言
C++
递交时间
2022-02-06 16:14:13
评测时间
2022-02-06 16:14:13
评测机
分数
95
总耗时
≥5332ms
峰值内存
≥87.941 MiB