codeforces
文章平均质量分 82
Tabris_
梦想还是要有的,万一实现了呢。
展开
-
codeforces #354 div.2 C &&676C Vasya and String
题目链接:http://codeforces.com/problemset/problem/676/C——————————C. Vasya and String time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output High schoo原创 2016-05-31 13:10:56 · 615 阅读 · 0 评论 -
codeforces 484D Kindergarten 【动态规划】
题目连接:http://codeforces.com/contest/484/problem/D—————————————————————————-. D. Kindergarten time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard outpu原创 2017-01-11 22:32:31 · 377 阅读 · 0 评论 -
codeforces 607B #336B Zuma [区间DP]【动态规划】
题目连接:http://codeforces.com/contest/607/problem/B ————————————————————————-. B. Zuma time limit per test2 seconds memory limit per test512 megabytes inputstandard input outputstandard output Geno原创 2017-01-12 14:25:19 · 635 阅读 · 0 评论 -
codeforces 766 C Mahmoud and a Message [基础DP]【动态规划】
题目连接:http://codeforces.com/contest/766/problem/C———————————————————————–. C. Mahmoud and a Message time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandar原创 2017-02-08 22:42:09 · 618 阅读 · 0 评论 -
codeforces766D Mahmoud and a Dictionary [并查集]【数据结构】
题目连接:http://codeforces.com/contest/766/problem/D—————————————————————————————-. D. Mahmoud and a Dictionary time limit per test4 seconds memory limit per test256 megabytes inputstandard input outp原创 2017-02-08 23:55:44 · 659 阅读 · 3 评论 -
Codeforces 766E Mahmoud and a xor trip [二进制,]【数学+思维】
题目连接:http://codeforces.com/contest/766/problem/E ——————————————————————————. ——————————————————————————. 题目大意: 就是在一个生成树上求任意两点的距离的和,距离定义为两点间路上所有点权值的异或和,解题思路:想法就是将结果的异或和拆分成每一位的,就是对于二进制数上对于第i位,有多少个距离为原创 2017-02-09 00:22:39 · 892 阅读 · 0 评论 -
Codeforces #353 div.2 Infinite Sequence&Restoring Painting&Money Transfers前三题题解
题目链接: A :http://codeforces.com/problemset/problem/675/A B :http://codeforces.com/problemset/problem/675/B C :http://codeforces.com/problemset/problem/675/CA———————————————–A. Infinite Sequence time原创 2016-05-18 21:59:54 · 1060 阅读 · 0 评论 -
codeforces 382B B. Number Busters [二分答案+数学]【思维】
题目链接:http://codeforces.com/contest/382/problem/B—————————————————————————————————-. B. Number Busters time limit per test1 second memory limit per test256 megabytes inputstandard input outputstand原创 2017-01-22 13:52:08 · 422 阅读 · 0 评论 -
Codeforces Round #401 (Div. 2) 【结题报告】
总结下, 看题慢,读错题,代码能力渣,思维不敏捷,菜的一逼。Shell Game————————————————————————————————————————————傻逼题,, 明确题意 枚举下所有情况 就能AC了。。int main(){ int n,x; scanf("%d",&n); scanf("%d",&x); n%=6; if(x==0){原创 2017-03-27 00:47:49 · 389 阅读 · 0 评论 -
Codeforces Round #404 (Div. 2)
Codeforces Round #404 (Div. 2)原创 2017-03-16 11:12:44 · 432 阅读 · 0 评论 -
Codeforces Round #402 (Div. 2)
Virtual Contest 4AC GG E题根本读不懂啊… 读题太慢,傻逼题还错,难题还不会, 总结就是菜!!A Pupils Redistribution—————————————————————————————————— 日常傻逼题: 给你两个只含有{1,2,3,4,5}序列,让你使其平衡,就是两边1的个数,2的个数…5的个数相同,问你最少交换几次, 不能输出-1;#inc原创 2017-03-13 21:19:02 · 319 阅读 · 0 评论 -
Codeforces 410 div 2 【解题报告】
题目很6,我也很菜。和一年前比,水平没有丝毫进步。只能把AB做出来。WHY? Sorry,I don’t know.A Mike and palindrome———————————————————————————————————————————— 翻译清楚就能AC了B Mike and strings————————————————————————————————————————————原创 2017-05-03 21:21:46 · 655 阅读 · 0 评论 -
Codeforces 557D - Vitaly and Cycle [二分图染色]【图论】
题目链接:http://codeforces.com/problemset/problem/557/D —————————————————————————————————————— D. Vitaly and Cycle time limit per test1 second memory limit per test256 megabytes inputstandard input o原创 2017-06-21 23:51:59 · 369 阅读 · 0 评论 -
Codeforces Round #420 (Div. 2)
A Okabe and Future Gadget Laboratory——————————————————————————————————————————简单SB题, 问你矩阵中所有大于11的数能否用所在行的一个数加上所在列的一个数表示 ,如果都能就YES,否则NOint n;int a[55][55];bool solve(int x,int y){ for(int i=1;i<=原创 2017-06-27 19:07:39 · 282 阅读 · 0 评论 -
Codeforces Round #421 (Div. 2)
第一次完全凭自己水平进了d2 前50(48), 然后因为我没做的C题数据出锅而unrated…..不开心啊….原创 2017-06-28 03:17:32 · 644 阅读 · 0 评论 -
Codeforces Round #424 Div. 2 【ABCDEF】[补完]
好吧 、我也只能做个嘴炮选手了,,,原创 2017-07-14 23:27:34 · 407 阅读 · 0 评论 -
codeforces 509E Pretty Song [递推]【杂类】
题目链接:http://codeforces.com/contest/509/problem/E —————————————————————————————–. E. Pretty Song time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard o原创 2017-01-11 01:41:15 · 396 阅读 · 0 评论 -
codeforces 763B. Timofey and rectangles [思维]【智商】
题目连接:http://codeforces.com/problemset/problem/763/B——————————————————————————————-. time limit per test2 seconds memory limit per test256 megabytesinputstandard input outputstandard outputOne of Tim原创 2017-02-06 00:21:44 · 683 阅读 · 0 评论 -
codeforces 55D beautiful number [数学+数位DP]【动态规划+数论】
题目连接 : http://codeforces.com/problemset/problem/55/D ——————————-. D. Beautiful numbers time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output V原创 2016-08-26 23:24:05 · 2012 阅读 · 4 评论 -
codeforces 552C Vanya and Scales 【思维】
题目链接:http://codeforces.com/contest/552/problem/C ————————————–. C. Vanya and Scales time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vanya原创 2016-09-09 13:07:02 · 455 阅读 · 0 评论 -
codeforces 370div.2 C Memory and De-Evolution[逆向思维]【思维】
题目链接:http://codeforces.com/contest/712/problem/C————————–. C. Memory and De-Evolution time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Mem原创 2016-09-11 13:36:33 · 575 阅读 · 0 评论 -
codeforces 664B Rebus [细节]
题目链接:http://codeforces.com/problemset/problem/664/B ———————————. B. Rebus time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given a原创 2016-09-01 15:54:48 · 640 阅读 · 0 评论 -
codeforces 714C Sonya and Queries [思维]【STL】
题目链接:http://codeforces.com/contest/714/problem/C————————————-. C. Sonya and Queries time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Today原创 2016-09-14 14:25:00 · 860 阅读 · 0 评论 -
codeforces 704A Thor [技巧吧.]
题目连接 : http://codeforces.com/problemset/problem/704/A————————————–. A. Thor time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Thor is getti原创 2016-08-10 15:19:05 · 674 阅读 · 0 评论 -
codeforces 710D Two Arithmetic Progressions [同余方程]【数论】
题目链接:http://codeforces.com/problemset/problem/710/D ————————–. D. Two Arithmetic Progressions time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard out原创 2016-08-24 17:32:54 · 895 阅读 · 0 评论 -
codeforces #200 div2.C Rational Resistance [思维]
题目链接:http://codeforces.com/contest/344/problem/C ————————————————–. C. Rational Resistance time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output原创 2016-09-06 11:25:15 · 294 阅读 · 0 评论 -
codeforces 594A Warrior and Archer [对称博弈]【博弈】
题目链接:http://codeforces.com/problemset/problem/594/A ——————————————–. A. Warrior and Archer time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard outpu原创 2016-09-07 13:38:21 · 849 阅读 · 0 评论 -
codeforces 354A Vasya and Robot [思维]
题目链接:http://codeforces.com/contest/354/problem/A———————————————–.A. Vasya and Robot time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasya h原创 2016-09-07 19:32:43 · 715 阅读 · 0 评论 -
Codeforces Round #297 (Div. 2) D - Arthur and Walls [思维]【思维】
题目链接:————————————–.————————————–.题目大意 : 就是给你一个n*m的矩阵 里面‘*’代表着墙 ‘.’代表空地 现在让你尽可能少的移开墙 然后使每一片联通的空地都成为一个矩形解题思路: 最开始看到这题的想法就是搜索 判断联通快然后让这一部分所在的最小矩形全部变成‘.’ 然后发现不行 有可能 操作之后的两个矩形又连到一起了,这样的话所有操作都需要再从新来一下,图原创 2016-11-03 13:13:07 · 265 阅读 · 0 评论 -
Codeforces 344E Read Time [二分答案]【思维】
题目链接:http://codeforces.com/contest/344/problem/E——————————————–. E. Read Time time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Mad scientis原创 2016-09-30 13:43:05 · 454 阅读 · 0 评论 -
codeforces 723D. Lakes in Berland [DFS]【】
题目链接:http://codeforces.com/contest/723/problem/D —————————————-. D. Lakes in Berland time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output The原创 2016-10-04 17:34:41 · 507 阅读 · 0 评论 -
codeforces 723C. Polycarp at the Radio [模拟]【杂类】
题目链接:http://codeforces.com/contest/723/problem/C ————————————. C. Polycarp at the Radio time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output原创 2016-10-04 18:34:39 · 392 阅读 · 0 评论 -
codeforces 349C Mafia [贪心]/[二分答案]
题目链接:http://codeforces.com/contest/349/problem/C ———————————————————————————————————————–. C. Mafia time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstand原创 2017-01-10 02:05:58 · 569 阅读 · 0 评论 -
Codeforces 794F - Leha and security system [线段树-区间更新]【数据结构】
题目链接:http://codeforces.com/problemset/problem/794/F —————————————————————————————————————— F. Leha and security system time limit per test2 seconds memory limit per test512 megabytes inputstandard原创 2017-09-21 16:44:50 · 549 阅读 · 0 评论