| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 127107 | 袁梓豪 | 判断素数 | C++ | Compile Error | 0 MS | 0 KB | 233 | 2025-07-23 23:53:12 |
#include <bits/stdc++.h> using namespace std; int main() { for(int i=1;i<=100000000;i++){ if(i%2==1){ cout<<"prime"; }endl{ cout<<"not prime" } } return 0; }
Main.cc: In function 'int main()':
Main.cc:7:15: error: expected ';' before '{' token
}endl{
^
Main.cc:9:10: error: statement cannot resolve address of overloaded function
}
^