12 2018 档案

摘要:A. The Fair Nut and Elevator 模拟题 反正n小于101 1 #include<bits/stdc++.h> 2 using namespace std; 3 int a[101],n; 4 int main() 5 { 6 7 cin>>n; 8 for(int i=1; 阅读全文
posted @ 2018-12-13 21:47 hermit-lei 阅读(149) 评论(0) 推荐(0)
摘要:A. Ehab and another construction problem 1不行 然后没了 1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int x; 6 cin>>x; 7 if(x==1)cout< 阅读全文
posted @ 2018-12-05 21:04 hermit-lei 阅读(148) 评论(0) 推荐(0)
摘要:C. Insertion Sort 求有多少 1 到 n 的排列 满足条件将前 k 个的数排列以后 最长上升子序列长度为 n−1 以上 队友推了式子 试了下就过了 1 #include<bits/stdc++.h> 2 typedef long long ll; 3 using namespace 阅读全文
posted @ 2018-12-01 15:38 hermit-lei 阅读(348) 评论(0) 推荐(0)