
数论
KLFTESPACE
这个作者很懒,什么都没留下…
展开
-
Leading and Trailing LightOJ - 1282
输入n, k 取n的前k位和后k位 #include <cstdio> #include <cstring> #include <cmath> #include <iostream> #include <algorithm> using namespace std; typedef long long ll; ll pow...原创 2019-09-10 11:30:25 · 115 阅读 · 0 评论 -
Goldbach`s Conjecture LightOJ - 1259
#include<stdio.h> #include<iostream> #include<string.h> #include<algorithm> using namespace std; const int N = 10000000+5; int prime[N/10]; bool tmp[N+1];//需要用bool 不然会会M...原创 2019-09-10 13:17:58 · 125 阅读 · 0 评论