/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:53:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   53 |         scanf("%d%d",&n,&m);
      |                ~^    ~~
      |                 |    |
      |                 int* long long int*
      |                %lld
foo.cc:53:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   53 |         scanf("%d%d",&n,&m);
      |                  ~^     ~~
      |                   |     |
      |                   int*  long long int*
      |                  %lld
foo.cc:56:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   56 |                 scanf("%d",&v[i]);
      |                        ~^  ~~~~~
      |                         |  |
      |                         |  long long int*
      |                         int*
      |                        %lld
foo.cc:62:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   62 |                         scanf("%d",&nums[i][j]);
      |                                ~^  ~~~~~~~~~~~
      |                                 |  |
      |                                 |  long long int*
      |                                 int*
      |                                %lld
foo.cc:65:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   65 |         printf("%d",DopingControl());
      |                 ~^  ~~~~~~~~~~~~~~~
      |                  |               |
      |                  int             long long int
      |                 %lld
foo.cc: In function 'long long int DopingControl()':
foo.cc:48:16: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
   48 |         return p;
      |                ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 428, expect 3072. 21ms 384.0 KiB
#2 Wrong Answer Read 487, expect 3159. 62ms 512.0 KiB
#3 Wrong Answer Read 11093, expect 1444. 145ms 1.0 MiB
#4 Wrong Answer Read 14468, expect 1390. 114ms 896.0 KiB
#5 Wrong Answer Read 60223, expect 739. 56ms 1.75 MiB
#6 Wrong Answer Read 42041, expect 845. 60ms 1.75 MiB
#7 Wrong Answer Read 92516, expect 1577. 23ms 1.625 MiB
#8 Wrong Answer Read 67684, expect 2452. 22ms 1.625 MiB
#9 Wrong Answer Read 23874, expect 2181. 5ms 640.0 KiB

信息

递交者
类型
递交
题目
P1426 兴奋剂检查
语言
C++
递交时间
2022-08-27 11:40:30
评测时间
2022-08-27 11:40:30
评测机
分数
0
总耗时
510ms
峰值内存
1.75 MiB