摘要: 839E - Mother of Dragons 题意: 题解: 没仔细看,好像现在解决不了~ 以后再补 先贴上dalao的代码 1 // God & me 2 // Fly ... 3 #include <bits/stdc++.h> 4 using namespace std; 5 typede 阅读全文
posted @ 2017-08-15 11:13 yijiull 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 839D - Winter is here 题意: 题解: 那个式子我都没想着去化简~太弱了=_= 参考的dalao的代码~ 1 #include <bits/stdc++.h> 2 using namespace std; 3 #define ll long long 4 const int ma 阅读全文
posted @ 2017-08-15 10:48 yijiull 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 839C - Journey 题意: 题解:dfs 1 #include <bits/stdc++.h> 2 using namespace std; 3 #define ll long long 4 const int maxn=100010; 5 struct Edge{ 6 int v,nex 阅读全文
posted @ 2017-08-15 09:44 yijiull 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 839B - Game of the Rows 题意: 题解: 贪心~ 1 #include <bits/stdc++.h> 2 using namespace std; 3 int have[5],cnt[3]; 4 5 int main(){ 6 int n,k; 7 scanf("%d%d", 阅读全文
posted @ 2017-08-15 09:23 yijiull 阅读(203) 评论(0) 推荐(0) 编辑