记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
    7 |      {printf("%d is not a primer!");}
      |               ~^
      |                |
      |                int
/in/foo.c: At top level:
/in/foo.c:9:13: error: expected declaration specifiers or '...' before string constant
    9 |      printf("%d is a primer!");
      |             ^~~~~~~~~~~~~~~~~
/in/foo.c:10:6: error: expected identifier or '(' before 'return'
   10 |      return 0;}
      |      ^~~~~~
/in/foo.c:10:15: error: expected identifier or '(' before '}' token
   10 |      return 0;}
      |               ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-13 16:34:19
评测时间
2025-11-13 16:34:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes