Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109205 欧阳俊懿 寻找绝对素数 C++ Compile Error 0 MS 0 KB 187 2025-02-06 15:32:42

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int n,m; bool p; int a[100005]; int gs; bool s(int a) { for(int i=2;i*i<=a;i++) if(a%i==0) return 0; return 1; }


Run Info:

/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status