记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%ld %ld %ld %ld",&a,&b,&c,&d);
         ~~^              ~~
         %lld
foo.c:6:15: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%ld %ld %ld %ld",&a,&b,&c,&d);
             ~~^             ~~
             %lld
foo.c:6:19: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long long int *' [-Wformat=]
  scanf("%ld %ld %ld %ld",&a,&b,&c,&d);
                 ~~^            ~~
                 %lld
foo.c:6:23: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long long int *' [-Wformat=]
  scanf("%ld %ld %ld %ld",&a,&b,&c,&d);
                     ~~^           ~~
                     %lld
foo.c:11:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld\n", ans);
          ~~^
          %lld
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%ld %ld %ld %ld",&a,&b,&c,&d);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB
#6 Wrong Answer Read -276855469, expect 911465402. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1289 B. It's my own Invention
比赛
南京师范大学2021年11月程序设计竞赛
语言
C
递交时间
2021-11-21 16:23:22
评测时间
2021-11-21 16:23:22
评测机
分数
110
总耗时
4ms
峰值内存
256.0 KiB