04 2017 档案

Tinkoff Challenge - Elimination Round D. Presents in Bankopolis记忆化搜索
摘要:D. Presents in Bankopolis time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Presents in 阅读全文

posted @ 2017-04-24 22:42 disppr 阅读(209) 评论(0) 推荐(0)

Tinkoff Challenge - Elimination Round C. Mice problem
摘要:C. Mice problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Mice problem time lim 阅读全文

posted @ 2017-04-24 22:30 disppr 阅读(317) 评论(0) 推荐(0)

Tinkoff Challenge - Elimination Round B. Igor and his way to work
摘要:B. Igor and his way to work time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output B. Igor and 阅读全文

posted @ 2017-04-24 22:17 disppr 阅读(339) 评论(0) 推荐(0)

Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2) D. Volatile Kite几何
摘要:D. Volatile Kite time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Volatile Kite time l 阅读全文

posted @ 2017-04-17 20:32 disppr 阅读(329) 评论(0) 推荐(0)

Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2) C. Voltage Keepsake二分
摘要:C. Voltage Keepsake time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Voltage Keepsake 阅读全文

posted @ 2017-04-17 20:09 disppr 阅读(190) 评论(0) 推荐(0)

Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2) B. Valued Keys水题
摘要:B. Valued Keys time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You found a mysterious fu 阅读全文

posted @ 2017-04-17 20:01 disppr 阅读(253) 评论(0) 推荐(0)

Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2)A. Vicious Keyboard
摘要:A. Vicious Keyboard time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Vicious Keyboard 阅读全文

posted @ 2017-04-17 19:58 disppr 阅读(298) 评论(0) 推荐(0)

Codeforces Round #408 (Div. 2) E. Exam Cheating 滚动dp
摘要:E. Exam Cheating time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Exam Cheating time l 阅读全文

posted @ 2017-04-14 11:37 disppr 阅读(657) 评论(0) 推荐(0)

Codeforces Round #408 (Div. 2)ABCDE
摘要:A. Buying A House 分别向左右枚举,找到符合题意的点,输出最短的长度*10。 #include <bits/stdc++.h> using namespace std; int n, k, s, a[105]; int main() { scanf("%d%d%d", &n, &s, 阅读全文

posted @ 2017-04-13 19:43 disppr 阅读(318) 评论(0) 推荐(0)

2017 Hackatari Codeathon部分题解
摘要:A 模拟+dfs暴搜 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; const int MAXN = 4; int vis[MAXN][MAXN][MAXN]; int xi[] = { 阅读全文

posted @ 2017-04-06 15:59 disppr 阅读(337) 评论(0) 推荐(0)

2017哈理工校赛部分题解
摘要:A。Astonishing Combinatorial Number 题目大意:给你n, m, k,问你C(i, j)%k= 0的个数{1 <= i <=n, 1 <=j <= m } 题解:我们可以先预处理组合数,由组合数公式变形 A[i][j] = (A[i-1][j-1] + A[i-1][j 阅读全文

posted @ 2017-04-02 22:35 disppr 阅读(441) 评论(0) 推荐(0)