/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:22:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   22 |  printf("%d",a*b/gcd(a,b));
      |          ~^  ~~~~~~~~~~~~
      |           |     |
      |           int   long long int
      |          %lld
foo.c:21:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   21 |  scanf("%lld%lld",&a,&b);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Wrong Answer Read -484680035, expect 13548070123626141. 1ms 256.0 KiB
#6 Wrong Answer Read -1, expect 4336468068178089.... 1ms 256.0 KiB
#7 Wrong Answer Read -1, expect 2701517022434257.... 1ms 256.0 KiB
#8 Wrong Answer Read -1, expect 1210087944509635.... 2ms 256.0 KiB
#9 Wrong Answer Read -1, expect 5970938115364987.... 1ms 256.0 KiB
#10 Wrong Answer Read 2, expect 1860323713668786.... 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C
递交时间
2022-01-18 16:29:23
评测时间
2022-01-18 16:29:23
评测机
分数
40
总耗时
15ms
峰值内存
384.0 KiB