记录详情

Compile Error

/in/foo.c:2:19: error: expected ';', ',' or ')' before 'int'
 int  gcd  (int x1 int x2)
                   ^~~
/in/foo.c: In function 'main':
/in/foo.c:16:5: error: 'x' undeclared (first use in this function)
     x=  gcd(x1,x2);
     ^
/in/foo.c:16:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:16:9: warning: implicit declaration of function 'gcd' [-Wimplicit-function-declaration]
     x=  gcd(x1,x2);
         ^~~

信息

递交者
类型
递交
题目
P1079 xf1-2最大公倍数与最小公因数
语言
C
递交时间
2019-10-15 12:14:59
评测时间
2019-10-15 12:14:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes