记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:5:13: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
     scanf("%d %d %d %d",&a,&b,&c,&d);
            ~^           ~~
            %lld
foo.c:5:16: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
     scanf("%d %d %d %d",&a,&b,&c,&d);
               ~^           ~~
               %lld
foo.c:5:19: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
     scanf("%d %d %d %d",&a,&b,&c,&d);
                  ~^           ~~
                  %lld
foo.c:5:22: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
     scanf("%d %d %d %d",&a,&b,&c,&d);
                     ~^           ~~
                     %lld
foo.c:6:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d",(a*d-b*c)%(1000000000+7));
             ~^  ~~~~~~~~~~~~~~~~~~~~~~~~
             %lld
foo.c:5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d %d %d",&a,&b,&c,&d);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 671682390, expect 857384. 0ms 256.0 KiB
#2 Wrong Answer Read -61445178, expect 645135. 0ms 288.0 KiB
#3 Wrong Answer Read -686182409, expect 427410. 0ms 256.0 KiB
#4 Wrong Answer Read 77444404, expect 1011493. 0ms 288.0 KiB
#5 Wrong Answer Read 869155626, expect 557980969. 0ms 288.0 KiB
#6 Wrong Answer Read 320764388, expect 911465402. 0ms 288.0 KiB

信息

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