记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:28:20: warning: implicit declaration of function ‘zscheck’; did you mean ‘zschek’? [-Wimplicit-function-declaration]
   28 |                 if(zscheck(j)==0){
      |                    ^~~~~~~
      |                    zschek
foo.c:29:37: error: expected ‘)’ before ‘,j’
   29 |                         printf("%d ",j);
      |                               ~     ^~~
      |                                     )
foo.c:29:34: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
   29 |                         printf("%d ",j);
      |                                 ~^
      |                                  |
      |                                  int

信息

递交者
类型
递交
题目
P1040 OO10-1 基于vector的素数筛选法
语言
C
递交时间
2025-09-24 21:51:51
评测时间
2025-09-25 17:46:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes