luogu
SWHsz
蒟蒻oier
膜各位大佬
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LUOGU1364---医院设置
LUOGU1364原创 2017-12-02 10:42:55 · 303 阅读 · 0 评论 -
LUOGUP1631---序列合并
#include<cstdio> #include<iostream> #include<cstring> using namespace std; int n; int hp[1000005]; int z[1000000]; int cnt,acnt=1,bcnt=1; int a[100005],b[100005]; int mx; void pus(int x) {//建立大根堆(一直想的建原创 2017-12-14 16:42:10 · 188 阅读 · 0 评论 -
LUOGUP1801 黑匣子_NOI导刊2010提高(06)
堆排原创 2017-12-15 00:59:21 · 291 阅读 · 0 评论 -
LUOGU2819--图的m染色问题
#include<iostream> #include<cstdio> #include<cstring> using namespace std; int n,m,k; int a,b,cnt; int u[105][105],v[105]= {0},col[105]= {0}; void dfs(int x) { if(x>n) { cnt++; retu原创 2017-11-26 22:55:46 · 270 阅读 · 0 评论 -
LUOGU P2085 最小函数值
题目描述有n个函数,分别为F1,F2,…,Fn。定义Fi(x)=Ai*x^2+Bi*x+Ci (x∈N*)。给定这些Ai、Bi和Ci,请求出所有函数的所有函数值中最小的m个(如有重复的要输出多个)。输入输出格式输入格式: 输入数据:第一行输入两个正整数n和m。以下n行每行三个正整数,其中第i行的三个数分别位Ai、Bi和Ci。Ai<=10,Bi<=100,Ci<=10 000。输出格式: 输出数据原创 2017-12-16 00:29:41 · 384 阅读 · 0 评论 -
LUOGU P2278 [HNOI2003]操作系统
luogu 2278原创 2017-12-16 19:49:22 · 239 阅读 · 0 评论 -
LUOGU P1603斯诺登的密码
一道恶心的字符串的模拟。毫无意义。 洛谷P1603 思路挺简单的,就是把各种单词变成数字后直接排个序,按占两个位,输出就行了(有dalao提醒我用long long) 还有another表示三者及以上(希望英语课每天睡觉的蒟蒻没有听错)所以another表示3. #include #include #include #include #include #include #include #原创 2018-01-12 17:26:06 · 746 阅读 · 0 评论
分享