Compile Error
foo.c:1:1: error: unknown type name 'def'
    1 | def is_prime(x):
      | ^~~
foo.c: In function 'is_prime':
foo.c:1:16: error: expected declaration specifiers before ':' token
    1 | def is_prime(x):
      |                ^
foo.c:4:5: error: expected declaration specifiers before 'for'
    4 |     for i in range(2,x):
      |     ^~~
foo.c:1:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
    1 | def is_prime(x):
      |     ^~~~~~~~
foo.c:14: warning: control reaches end of non-void function [-Wreturn-type]
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 语言
 - C
 - 递交时间
 - 2023-12-19 17:27:58
 - 评测时间
 - 2023-12-19 17:27:58
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes