记录详情

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 22ms 14.5 MiB
#2 Accepted 16ms 14.375 MiB
#3 Accepted 18ms 14.25 MiB
#4 Accepted 20ms 14.375 MiB
#5 Accepted 19ms 14.375 MiB
#6 Accepted 269ms 34.648 MiB
#7 Accepted 275ms 34.742 MiB
#8 Accepted 260ms 34.648 MiB
#9 Accepted 200ms 31.824 MiB
#10 Accepted 271ms 31.738 MiB
#11 Accepted 216ms 31.738 MiB
#12 Accepted 202ms 31.738 MiB
#13 Accepted 270ms 31.738 MiB
#14 Accepted 334ms 31.871 MiB
#15 Accepted 357ms 31.828 MiB
#16 Accepted 485ms 31.805 MiB
#17 Accepted 268ms 29.895 MiB
#18 Accepted 269ms 29.891 MiB
#19 Accepted 294ms 29.867 MiB
#20 Time Exceeded ≥1089ms ≥62.59 MiB

信息

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