摘要: A:https://vjudge.net/contest/366415#problem A是是找规律的题目,找几个数据就可以得出答案。或者自己一步步论证得出,做题的说话是一步步论证得出的。 #include<iostream> #include<cstdio> #include<set> #incl 阅读全文
posted @ 2020-04-08 20:14 Leviathan_Sei 阅读(205) 评论(0) 推荐(0)
摘要: C #include <bits/stdc++.h> using namespace std; int h[55], l[55], t, n, k; int main() { scanf("%d", &t); for (int cas = 1; cas <= t; ++cas) { if (cas 阅读全文
posted @ 2020-04-01 23:55 Leviathan_Sei 阅读(112) 评论(0) 推荐(0)
摘要: B.Breaking Branches 逻辑思维题,n为2时分一次Alice必胜,n为3时,Alice分成1,2。Bob必胜。n为4的时候分成1,3,或者2,2。都是Alice赢。所以当n为偶数的时候,Alice赢。反之,Bob赢。 而Alice必操作的就是分成1。 #include <stdio. 阅读全文
posted @ 2020-03-24 18:34 Leviathan_Sei 阅读(142) 评论(0) 推荐(0)
摘要: problem_F https://nanti.jisuanke.com/t/43470 这题就是一个算二元一次方程 #include <cstdio> #include <iostream> #include <algorithm> #include <cmath> #include <strin 阅读全文
posted @ 2020-03-18 17:18 Leviathan_Sei 阅读(144) 评论(0) 推荐(0)