上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 87 下一页
摘要: A. Sushi for Two 代码: #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; int N, cnt = 0; int a[maxn], vis[maxn]; int main() { sca 阅读全文
posted @ 2019-04-21 21:37 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2222 Problem Description In the modern time, Search engine came into the life of everybody like Google, Baid 阅读全文
posted @ 2019-04-21 12:56 丧心病狂工科女 阅读(159) 评论(0) 推荐(0) 编辑
摘要: see u again 阅读全文
posted @ 2019-04-21 09:43 丧心病狂工科女 阅读(182) 评论(0) 推荐(0) 编辑
摘要: A. Maxim and Biology 代码: #include <bits/stdc++.h> using namespace std; int N; string s; int minn = 0x3f3f3f3f; int main() { scanf("%d", &N); cin >> s; 阅读全文
posted @ 2019-04-19 18:27 丧心病狂工科女 阅读(220) 评论(0) 推荐(0) 编辑
摘要: A. Restoring Three Numbers 代码: #include <bits/stdc++.h> using namespace std; int n[5]; int a, b, c; int main() { for(int i = 0; i < 4; i ++) scanf("%d 阅读全文
posted @ 2019-04-17 15:58 丧心病狂工科女 阅读(237) 评论(0) 推荐(0) 编辑
摘要: A. The Doors 代码: #include <bits/stdc++.h> using namespace std; const int maxn = 2e5 + 10; int N; int Zero = 0, One = 0; int a[maxn], b[maxn], suma[max 阅读全文
posted @ 2019-04-16 20:47 丧心病狂工科女 阅读(205) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-the-town-judge/ In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is se 阅读全文
posted @ 2019-04-16 11:39 丧心病狂工科女 阅读(241) 评论(0) 推荐(0) 编辑
摘要: A. Detective Book 代码: #include <bits/stdc++.h> using namespace std; const int maxn = 1e4 + 10; int N; int a[maxn]; int maxx = 0; int main() { scanf("% 阅读全文
posted @ 2019-04-15 22:40 丧心病狂工科女 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest-word-in-dictionary-through-deleting/ Given a string and a string dictionary, find the longest string in the dict 阅读全文
posted @ 2019-04-15 21:14 丧心病狂工科女 阅读(129) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/h-index/ Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to comp 阅读全文
posted @ 2019-04-15 16:36 丧心病狂工科女 阅读(118) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 87 下一页