记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:9:9: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
   int m=sqrt(xx);
         ^~~~
/in/foo.c:9:9: warning: incompatible implicit declaration of built-in function 'sqrt'
/in/foo.c:9:9: note: include '<math.h>' or provide a declaration of 'sqrt'
/in/foo.c:13:6: error: 'i' undeclared (first use in this function)
   if(i!=m+1)
      ^
/in/foo.c:13:6: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
递交
题目
A5-1 超级素数判断
语言
C
递交时间
2020-03-29 20:59:04
评测时间
2020-03-29 20:59:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes