CF
Whyckck
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【CF】B- Numbers on the Chessboard
B. Numbers on the Chessboardtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a chessboard of size n×n. It is fille...原创 2018-08-19 00:35:41 · 644 阅读 · 1 评论 -
【CF】Powers Of Two
惭愧啊 菜到DIV3 C都又T又WA得题目大意给出n和k,让你判断n能否由k个2的幂的和组成,并输出。正确思路:把n转二进制存数组,因为,所以不断从高位向低位转换并判断就好了.//#include <bits\stdc++.h>#include <iostream>#include <queue>#include <iomani...原创 2019-01-21 17:08:33 · 282 阅读 · 0 评论 -
【CF】C. Ayoub and Lost Array (容斥 DP)
求出区间里对3取余为0,1,2的个数,DP[ i ] [ j ]表示 到前i个数对3取余为j的方案数#include <bits\stdc++.h>#include <iostream>#include <queue>#include <iomanip>#include <cmath>#include <set&...原创 2019-01-23 09:03:09 · 483 阅读 · 2 评论 -
Codeforces Round #551 (Div. 2) 小结
A.无法用言语形容...一直被大佬搞,刚才从新读了遍题,是自己沙雕了#include <bits/stdc++.h>using namespace std;typedef long long ll;typedef long double ld;typedef unsigned long long ull;//typedef __int128 bll;const ll ...原创 2019-04-14 17:13:41 · 361 阅读 · 0 评论
分享