摘要:
#include<bits/stdc++.h> using namespace std; long long n; long long ans; long long prime[3000010]; bool is_no_p[3000010]; long long maxx; void Prime() 阅读全文
摘要:
const int maxn=3e6+10; int prime[maxn]; bool is_no_p[maxn]={1,1}; void Prime(int n) { for (int i=2;i<=n;i++) { if (!is_no_p[i]) prime[++prime[0]]=i; f 阅读全文
摘要:
线性_数组存储 int pri[maxn],inp[maxn]; void prime(long long n) { for (int i=2;i<=n;i++) { if (!inp[i]) pri[++pri[0]]=i; for (int j=1;j<=pri[0] && i*pri[j]<= 阅读全文
摘要:
前言 别看了别看了这就是个代码啥也没有 本代码用于闲暇时间游玩You have no egg! #include <algorithm> #include <cstdio> #include <cstring> #define ll long long int cnt_broken = 0; int 阅读全文
摘要:
推荐使用代码3 高斯消元 #include<bits/stdc++.h> using namespace std; const int maxn=110; const double eps=1e-6; int n; double a[maxn][maxn]; int gauss() { for (i 阅读全文