记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
    8 |                 scanf("%d,%d",&a,&b);
      |                        ~^     ~~
      |                         |     |
      |                         int*  long long int*
      |                        %lld
foo.cc:8:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
    8 |                 scanf("%d,%d",&a,&b);
      |                           ~^     ~~
      |                            |     |
      |                            int*  long long int*
      |                           %lld
foo.cc:14:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   14 |         printf("%d,%d\n%d,%d",xx-1,zy-1,sx+1,yy+1);
      |                 ~^            ~~~~
      |                  |              |
      |                  int            long long int
      |                 %lld
foo.cc:14:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
   14 |         printf("%d,%d\n%d,%d",xx-1,zy-1,sx+1,yy+1);
      |                    ~^              ~~~~
      |                     |                |
      |                     int              long long int
      |                    %lld
foo.cc:14:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
   14 |         printf("%d,%d\n%d,%d",xx-1,zy-1,sx+1,yy+1);
      |                        ~^               ~~~~
      |                         |                 |
      |                         int               long long int
      |                        %lld
foo.cc:14:28: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
   14 |         printf("%d,%d\n%d,%d",xx-1,zy-1,sx+1,yy+1);
      |                           ~^                 ~~~~
      |                            |                   |
      |                            int                 long long int
      |                           %lld
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 516.0 KiB
#2 Wrong Answer Read 13,13, expect 13,12. 5ms 416.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Wrong Answer Read 12,27, expect 9,9. 4ms 412.0 KiB
#5 Wrong Answer Read 12,27, expect 9,14. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1016 画框
语言
C++
递交时间
2023-12-06 17:02:54
评测时间
2023-12-07 21:21:09
评测机
分数
20
总耗时
21ms
峰值内存
516.0 KiB