Compile Error
foo.cc: In function 'int main()':
foo.cc:11:20: error: a function-definition is not allowed here before '{' token
 int isPrime(int n) {int i;if (n < 2)return 0;if (n == 2)
                    ^
foo.cc:17:9: error: expected '}' at end of input
 return 1;
         ^
foo.cc:17:9: error: expected '}' at end of input
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1109 哥德巴赫猜想(2)
 - 语言
 - C++
 - 递交时间
 - 2021-11-27 17:12:17
 - 评测时间
 - 2021-11-27 17:12:17
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes