记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%ld%ld",&x,&n);
         ~~^     ~~
         %lld
foo.c:7:14: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%ld%ld",&x,&n);
            ~~^     ~~
            %lld
foo.c:8:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld",Mul(x,n));
          ~~^  ~~~~~~~~
          %lld
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%ld%ld",&x,&n);
  ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 312.0 KiB
#2 Wrong Answer Read -9223372036854775808, expect 1267650600228229.... 1ms 256.0 KiB
#3 Wrong Answer Read -9223372036854775808, expect 1378061233982227.... 0ms 256.0 KiB
#4 Wrong Answer Read -9223372036854775808, expect 3406417526964407.... 1ms 256.0 KiB
#5 Wrong Answer Read -9223372036854775808, expect 2986228355078392.... 1ms 256.0 KiB

信息

递交者
类型
递交
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-31 10:47:24
评测时间
2021-10-31 10:47:24
评测机
分数
20
总耗时
5ms
峰值内存
312.0 KiB