记录详情

Compile Error

foo.c: In function 'main':
foo.c:4:2: error: 'inta' undeclared (first use in this function); did you mean 'int'?
    4 | {inta,b,c,d
      |  ^~~~
      |  int
foo.c:4:2: note: each undeclared identifier is reported only once for each function it appears in
foo.c:4:7: error: 'b' undeclared (first use in this function)
    4 | {inta,b,c,d
      |       ^
foo.c:4:6: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    4 | {inta,b,c,d
      |      ^
foo.c:4:9: error: 'c' undeclared (first use in this function)
    4 | {inta,b,c,d
      |         ^
foo.c:4:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    4 | {inta,b,c,d
      |        ^
foo.c:4:11: error: 'd' undeclared (first use in this function)
    4 | {inta,b,c,d
      |           ^
foo.c:4:10: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    4 | {inta,b,c,d
      |          ^
foo.c:4:12: error: expected ';' before 'd'
    4 | {inta,b,c,d
      |            ^
      |            ;
    5 |  d=(a%c)*(b%c);
      |  ~          
foo.c:13:1: error: expected declaration or statement at end of input
   13 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

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