/ Vijos /

记录详情

Runtime Error

foo.c: In function 'main':
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("%lld%lld%lld%lld%lld",&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 Wrong Answer Read 0, 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 0, expect 3987081. 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:48:48
评测时间
2021-04-30 03:48:48
评测机
分数
0
总耗时
8ms
峰值内存
256.0 KiB