/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:77:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   77 |  scanf("%d",&M);
      |         ~^  ~~
      |          |  |
      |          |  long long int*
      |          int*
      |         %lld
foo.cc:70:15: warning: unused variable 'j' [-Wunused-variable]
   70 |  static int i,j;
      |               ^
foo.cc:71:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   71 |  scanf("%d",&N);
      |  ~~~~~^~~~~~~~~
foo.cc:73:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |   scanf("%d%d",&U,&V);
      |   ~~~~~^~~~~~~~~~~~~~
foo.cc:77:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   77 |  scanf("%d",&M);
      |  ~~~~~^~~~~~~~~
foo.cc: At global scope:
foo.cc:70:15: warning: 'j' defined but not used [-Wunused-variable]
   70 |  static int i,j;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 88ms 46.242 MiB
#2 Wrong Answer Read 358116514, expect 368746560. 93ms 46.242 MiB
#3 Accepted 63ms 46.367 MiB
#4 Wrong Answer Read 548590264, expect 677582792. 66ms 46.867 MiB
#5 Accepted 155ms 54.359 MiB
#6 Accepted 193ms 59.93 MiB
#7 Wrong Answer Read 61598848, expect 834985139. 156ms 52.742 MiB
#8 Time Exceeded ≥1077ms ≥90.492 MiB
#9 Time Exceeded ≥1068ms ≥101.008 MiB
#10 Time Exceeded ≥1027ms ≥149.242 MiB

信息

递交者
类型
递交
题目
P1892 树上的最大匹配
语言
C++
递交时间
2022-02-14 06:21:11
评测时间
2022-02-14 06:21:11
评测机
分数
40
总耗时
≥3991ms
峰值内存
≥149.242 MiB