/ XMU_ACM /

记录详情

Compile Error

/in/foo.c: In function 'move_zero':
/in/foo.c:7:3: error: 'r' undeclared (first use in this function)
   r = num % 10;
   ^
/in/foo.c:7:3: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:18: warning: implicit declaration of function 'power' [-Wimplicit-function-declaration]
    result += r * power(10,i++);
                  ^~~~~
/in/foo.c:14:1: error: expected ';' before '}' token
 }
 ^

信息

递交者
类型
自测
题目
去零阶乘
语言
C
递交时间
2019-04-21 12:36:41
评测时间
2019-04-21 12:36:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes