/ XMU_ACM /

记录详情

Compile Error

/in/foo.c:4:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
/in/foo.c: In function 'main':
/in/foo.c:11:3: warning: implicit declaration of function 'itoa' [-Wimplicit-function-declaration]
   itoa(sum,s1,10);
   ^~~~
/in/foo.c:20:5: warning: statement with no effect [-Wunused-value]
     for (t; s1[t+1]!='\0'; t++)
     ^~~
/in/foo.c:6:12: warning: variable 'k' set but not used [-Wunused-but-set-variable]
  int i,j,n,k,sum=1;
            ^
/tmp/ccwuyhKv.o: In function `main':
foo.c:(.text.startup+0x47): undefined reference to `itoa'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
去零阶乘
语言
C
递交时间
2018-03-23 20:07:14
评测时间
2018-03-23 20:07:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes