记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:15:18: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'long long int *' [-Wformat=]
   15 |         scanf("%ld%d", &x, &n);
      |                ~~^     ~~
      |                  |     |
      |                  |     long long int *
      |                  long int *
      |                %lld
foo.c:17:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
   17 |         printf("%ld", y);
      |                 ~~^   ~
      |                   |   |
      |                   |   long long int
      |                   long int
      |                 %lld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer Read 0, expect 1267650600228229.... 2ms 256.0 KiB
#3 Wrong Answer Read -5485011738861510223, expect 1378061233982227.... 1ms 256.0 KiB
#4 Wrong Answer Read -3701874281793156543, expect 3406417526964407.... 1ms 256.0 KiB
#5 Wrong Answer Read -4685626007714891375, expect 2986228355078392.... 1ms 256.0 KiB

信息

递交者
类型
递交
题目
A11-1 高精度整数与常规整数的乘法
语言
C
递交时间
2022-10-10 10:51:19
评测时间
2022-10-10 10:51:19
评测机
分数
20
总耗时
10ms
峰值内存
256.0 KiB