![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
入门
architectyqx
这个作者很懒,什么都没留下…
展开
-
[51nod] #2108 Sort Problem
[Q] (https://www.51nod.com/Challenge/Problem.html#!#problemId=2108) /*** *author:archiyectyqx *time:20190311 *QuickSort ***/ #include <stdio.h> int a[101],n;//定义全局变量,这两个变量需要在子函数中使用 void quicksor...原创 2019-03-12 00:18:57 · 147 阅读 · 2 评论 -
[poj 3126]#Prime Path
题目链接 dfs初步 题目很直白,就是不断地搜索下一个符合条件的数字,最后输出最短路径 #include<iostream> #include<cstdio> #include<queue> #include<cstring> using namespace std; const int MAX_N = 10000 + 10; int pr...原创 2019-05-25 05:10:36 · 72 阅读 · 0 评论 -
[洛谷P1048]#采药
题目链接 在这里插入代码片原创 2019-05-25 12:34:12 · 128 阅读 · 0 评论 -
[51nod]#1163最高的奖励
纯暴力解法 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; typedef long long ll; const int maxn=50000+100; struct node { int end; ll...原创 2019-05-21 23:39:43 · 111 阅读 · 0 评论 -
[洛谷 P1031]#均分纸牌
题目链接 在这里插入代码片原创 2019-05-26 13:55:03 · 106 阅读 · 0 评论