记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:11:27: warning: format '%lld' expects argument of type 'long long int *', but argument 2 has type 'int64_t *' {aka 'long int *'} [-Wformat=]
   11 |                 scanf("%lld%lld",&a,&b);
      |                        ~~~^      ~~
      |                           |      |
      |                           |      int64_t * {aka long int *}
      |                           long long int *
      |                        %ld
foo.c:11:31: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int64_t *' {aka 'long int *'} [-Wformat=]
   11 |                 scanf("%lld%lld",&a,&b);
      |                            ~~~^     ~~
      |                               |     |
      |                               |     int64_t * {aka long int *}
      |                               long long int *
      |                            %ld
foo.c:13:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=]
   13 |                 printf("%lld",result);
      |                         ~~~^  ~~~~~~
      |                            |  |
      |                            |  int64_t {aka long int}
      |                            long long int
      |                         %ld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 9999999800000001..., expect 9999999800000001. 2ms 284.0 KiB
#2 Wrong Answer Read -999999980000000..., expect -9999999800000001. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1496 Problem 1A. A*B
比赛
2023秋 悬赏令第一周
语言
C
递交时间
2023-10-07 21:42:33
评测时间
2023-10-07 21:42:33
评测机
分数
0
总耗时
3ms
峰值内存
284.0 KiB