
HDU
qq_52051345
博客转移至www.acming.net和51codefly.com
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 1102
There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two village A and B are connected, if and only if t...原创 2019-05-30 12:35:54 · 129 阅读 · 0 评论 -
HDU2988
http://acm.hdu.edu.cn/showproblem.php?pid=2988 #include<iostream> #include<algorithm> /* 7 11 0 1 7 0 3 5 1 2 8 1 3 9 1 4 7 2 4 5 3 4 15 3 5 6 4 5 8 4 6 9 5 6 11 0 0 */ using namespace std...原创 2019-05-30 12:34:11 · 143 阅读 · 0 评论 -
HDU1562
http://acm.hdu.edu.cn/showproblem.php?pid=1562 #include <iostream> #include <cmath> using namespace std; typedef long long ll; bool check(ll x) { for (ll i = 2; i * i <= x; i++) { i...原创 2019-03-27 17:49:24 · 204 阅读 · 0 评论 -
HDU5311
http://acm.hdu.edu.cn/showproblem.php?pid=5311 #include <iostream> #include <string> using namespace std; int flag; string s = "anniversary"; void dfs(string a, int pos_a, int pos_s, int d...原创 2019-03-27 17:31:57 · 111 阅读 · 0 评论 -
HDU5944
http://acm.hdu.edu.cn/showproblem.php?pid=5944 #include <iostream> #include <string> using namespace std; int main() { int t; cin >> t; while (t--) { string s; cin >> s...原创 2019-03-25 22:38:49 · 147 阅读 · 0 评论 -
HDU5778
http://acm.hdu.edu.cn/showproblem.php?pid=5778 #include <iostream> #include <cmath> using namespace std; typedef long long ll; bool check(ll x) { for (ll i = 2; i * i <= x; i++) { i...原创 2019-03-25 22:37:28 · 151 阅读 · 0 评论 -
HDU1557
http://acm.hdu.edu.cn/showproblem.php?pid=1557 #include <iostream> #include <cstring> using namespace std; int a[25]; int ans[25]; int main() { int t; cin >> t; while (t--) { i...原创 2019-03-25 22:35:40 · 173 阅读 · 0 评论 -
HDU6288
缺失数据范围 http://acm.hdu.edu.cn/status.php?first=&pid=4004&user=&lang=0&status=0 #include <iostream> #include <cmath> #define ull unsigned long long int using namespace std; ...原创 2019-03-18 13:43:38 · 158 阅读 · 0 评论 -
HDU1017
http://acm.hdu.edu.cn/showproblem.php?pid=1017 #include <iostream> using namespace std; int main() { int N; cin >> N; while(N--) { int i = 0; int n, m; ...原创 2019-03-25 10:26:28 · 236 阅读 · 0 评论 -
HDU4004
http://acm.hdu.edu.cn/showproblem.php?pid=4004 /* 输入: 6 1 2 2 25 3 3 11 2 18 输出: 4 11 */ #include <iostream> #include <algorithm> using namespace std; int L, N, M; int d[500005];//存储每块...原创 2019-03-18 12:09:54 · 279 阅读 · 0 评论 -
HDU2199
Problem Description Now,given the equation 8x^4 + 7x^3 + 2x^2 + 3x + 6 == Y,can you find its solution between 0 and 100; Now please try your lucky. Input The first line of the input contains an intege...原创 2019-03-16 00:00:40 · 181 阅读 · 0 评论