记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   11 | while (f = 0)
      |        ~~^~~
foo.cc:14:19: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   14 |         if (e % a == 0 & e % b == 0)
      |             ~~~~~~^~~~
foo.cc:7:15: warning: variable 'c' set but not used [-Wunused-but-set-variable]
    7 | long  int a,b,c,e,f;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 3ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB

信息

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