记录详情

Compile Error

foo.cc: In function ‘int isPrime(int)’:
foo.cc:32:2: error: expected ‘while’ at end of input
   32 | }
      |  ^
foo.cc:32:2: error: expected ‘(’ at end of input
   32 | }
      |  ^
      |  (
foo.cc:32:2: error: expected primary-expression at end of input
foo.cc:32:2: error: expected ‘)’ at end of input
   32 | }
      |  ^
      |  )
foo.cc:32:2: error: expected ‘;’ at end of input
   32 | }
      |  ^
      |  ;
foo.cc:32:2: error: expected ‘}’ at end of input
foo.cc:17:1: note: to match this ‘{’
   17 | {
      | ^

信息

递交者
类型
递交
题目
A5-2 超级素数的个数
语言
C++
递交时间
2025-05-14 12:17:39
评测时间
2025-05-14 12:17:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes