/ Vijos /

记录详情

Runtime Error

foo.c: In function 'main':
foo.c:14:13: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
            ~^          ~~
            %ld
foo.c:14:15: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
              ~^           ~~
              %ld
foo.c:14:17: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
                ~^            ~~
                %ld
foo.c:14:19: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
                  ~^             ~~
                  %ld
foo.c:14:21: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
                    ~^              ~~
                    %ld
foo.c:24:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
         printf("%d",ans);
                 ~^
                 %ld
foo.c:14:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:19:12: warning: 'len1' may be used uninitialized in this function [-Wmaybe-uninitialized]
         l=l/c;
           ~^~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read Impossible, expect 2099999998. 0ms 256.0 KiB
#2 Runtime Error Floating point exception 0ms 256.0 KiB
#3 Runtime Error Floating point exception 0ms 256.0 KiB
#4 Runtime Error Floating point exception 0ms 256.0 KiB
#5 Wrong Answer Read Impossible, expect 3987081. 0ms 256.0 KiB
#6 Runtime Error Floating point exception 0ms 256.0 KiB
#7 Wrong Answer Read 0, expect 869523666. 0ms 256.0 KiB
#8 Wrong Answer Read Impossible, expect 20260461. 0ms 256.0 KiB
#9 Runtime Error Floating point exception 1ms 256.0 KiB
#10 Runtime Error Floating point exception 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1009 清帝之惑之康熙
语言
C
递交时间
2021-04-30 03:45:21
评测时间
2021-04-30 03:45:21
评测机
分数
0
总耗时
8ms
峰值内存
256.0 KiB