记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:15:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
   15 |         scanf("%d",&a);
      |                ~^  ~~
      |                 |  |
      |                 |  long long int*
      |                 int*
      |                %lld
foo.cc:19:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
   19 |                 scanf("%ld%ld%ld",&x,&y,&z);
      |                        ~~^        ~~
      |                          |        |
      |                          |        long long int*
      |                          long int*
      |                        %lld
foo.cc:19:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
   19 |                 scanf("%ld%ld%ld",&x,&y,&z);
      |                           ~~^        ~~
      |                             |        |
      |                             |        long long int*
      |                             long int*
      |                           %lld
foo.cc:19:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
   19 |                 scanf("%ld%ld%ld",&x,&y,&z);
      |                              ~~^        ~~
      |                                |        |
      |                                |        long long int*
      |                                long int*
      |                              %lld
foo.cc:23:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
   23 |                         scanf("%ld",&b);
      |                                ~~^  ~~
      |                                  |  |
      |                                  |  long long int*
      |                                  long int*
      |                                %lld
foo.cc:12:19: warning: unused variable ‘n’ [-Wunused-variable]
   12 |         long long n[2000]={0};
      |                   ^
foo.cc:13:19: warning: unused variable ‘cnt’ [-Wunused-variable]
   13 |         long long cnt=0;
      |                   ^~~
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 768.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 320.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 560.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 536.0 KiB
#6 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#7 Wrong Answer Standard answer longer than user output. 2ms 324.0 KiB
#8 Wrong Answer Standard answer longer than user output. 2ms 556.0 KiB
#9 Wrong Answer Standard answer longer than user output. 2ms 500.0 KiB
#10 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1504 Problem 2A.拆弹专家
语言
C++
递交时间
2024-10-05 23:28:36
评测时间
2024-10-05 23:28:36
评测机
分数
0
总耗时
28ms
峰值内存
768.0 KiB