记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    7 | while(r=m%n)
      |       ^
foo.c:4:11: warning: unused variable 'x' [-Wunused-variable]
    4 | int m,n,r,x,d;
      |           ^
foo.c:12:9: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
   12 |         printf("%d %d",n,d);
      |         ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 1, expect 50. 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1079 xf1-2最大公倍数与最小公因数
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 11:29:15
评测时间
2022-08-27 11:29:15
评测机
分数
80
总耗时
10ms
峰值内存
384.0 KiB