/ 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 long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
            ~^          ~~
            %lld
foo.c:14:15: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
              ~^           ~~
              %lld
foo.c:14:17: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
                ~^            ~~
                %lld
foo.c:14:19: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
                  ~^             ~~
                  %lld
foo.c:14:21: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long long int *' [-Wformat=]
     scanf("%d%d%d%d%d",&x,&y,&n,&m,&l);
                    ~^              ~~
                    %lld
foo.c:24:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
         printf("%d",ans);
                 ~^
                 %lld
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:17:19: warning: 'len1' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (gcd(l,len)%gcd(l,len1)!=0) printf("Impossible");else{
         ~~~~~~~~~~^~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 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 Runtime Error Floating point exception 0ms 256.0 KiB
#6 Runtime Error Floating point exception 0ms 256.0 KiB
#7 Runtime Error Floating point exception 0ms 256.0 KiB
#8 Runtime Error Floating point exception 0ms 256.0 KiB
#9 Runtime Error Floating point exception 0ms 256.0 KiB
#10 Runtime Error Floating point exception 0ms 256.0 KiB

信息

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