Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115641 谭哲曦 13判断质数 C++ Compile Error 0 MS 0 KB 148 2025-04-01 21:39:00

Tests(0/0):


Code:

#include<iostream> #include<cmath> using namespace std; int main() { int n,i; cin>>n; for(i=2;i<=sqrt(n);i++) { if(


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:11: error: expected primary-expression at end of input
         if(
           ^
Main.cc:10:11: error: expected ')' at end of input
Main.cc:10:11: error: expected statement at end of input
Main.cc:10:11: error: expected '}' at end of input
Main.cc:10:11: error: expected '}' at end of input