随笔分类 -  online judge codeforces

摘要:C. Balls and Boxes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Balls and Boxes tim 阅读全文
posted @ 2016-11-04 10:57 jhz033 阅读(273) 评论(0) 推荐(0)
摘要:1467: Pku3243 clever Y Description 小Y发现,数学中有一个很有趣的式子: X^Y mod Z = K 给出X、Y、Z,我们都知道如何很快的计算K。但是如果给出X、Z、K,你是否知道如何快速的计算Y呢? Input 本题由多组数据(不超过20组),每组测试数据包含一行 阅读全文
posted @ 2016-11-01 18:24 jhz033 阅读(214) 评论(0) 推荐(0)
摘要:C. Guess Your Way Out! time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Amr bought a new v 阅读全文
posted @ 2016-11-01 14:28 jhz033 阅读(232) 评论(0) 推荐(0)
摘要:D. Kostya the Sculptor time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Kostya is a genia 阅读全文
posted @ 2016-11-01 14:17 jhz033 阅读(233) 评论(0) 推荐(0)
摘要:C. Epidemic in Monstropolis time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There was an 阅读全文
posted @ 2016-11-01 14:14 jhz033 阅读(280) 评论(0) 推荐(0)
摘要:A. Toda 2 题意:给你n个人,每个人的分数是a[i],每次可以从两个人到五个人的使得分数减一,使得最终的分数相等; 思路:假设答案为m;每个人的分数与答案m的差值为d[i],sum为d[i]的总和,max为d[i]的最大值;仅当sum-max>=max的时候才满足; 满足之后,总和为奇数,先 阅读全文
posted @ 2016-10-24 18:04 jhz033 阅读(274) 评论(0) 推荐(0)
摘要:E. Parking Lot time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A parking lot in the City 阅读全文
posted @ 2016-10-22 19:24 jhz033 阅读(232) 评论(0) 推荐(0)
摘要:F. Video Cards time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Vlad is fond of pop 阅读全文
posted @ 2016-10-22 12:42 jhz033 阅读(321) 评论(0) 推荐(0)
摘要:C. Socks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Socks time limit per test 2 阅读全文
posted @ 2016-10-21 19:38 jhz033 阅读(256) 评论(0) 推荐(0)
摘要:C. Sanatorium time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasiliy spent his vacation 阅读全文
posted @ 2016-10-21 18:36 jhz033 阅读(229) 评论(0) 推荐(0)
摘要:D. Exams time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Exams time limit per test 1 s 阅读全文
posted @ 2016-10-21 17:55 jhz033 阅读(226) 评论(0) 推荐(0)
摘要:E. Lucky Array time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Petya loves lucky numbers 阅读全文
posted @ 2016-10-21 12:09 jhz033 阅读(249) 评论(0) 推荐(0)
摘要:C. Dreamoon and Sums time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output Dreamoon loves su 阅读全文
posted @ 2016-10-16 14:22 jhz033 阅读(136) 评论(0) 推荐(0)
摘要:C. Anya and Ghosts time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Anya and Ghosts ti 阅读全文
posted @ 2016-10-13 20:53 jhz033 阅读(195) 评论(0) 推荐(0)
摘要:D. Vasya and Chess time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Vasya and Chess ti 阅读全文
posted @ 2016-10-05 16:17 jhz033 阅读(171) 评论(0) 推荐(0)
摘要:C. Vasya and Basketball time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Vasya and Bas 阅读全文
posted @ 2016-10-05 16:16 jhz033 阅读(151) 评论(0) 推荐(0)
摘要:C. Polycarp at the Radio time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Polycarp at 阅读全文
posted @ 2016-10-04 18:23 jhz033 阅读(141) 评论(0) 推荐(0)
摘要:D. Lakes in Berland time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The map of Berland i 阅读全文
posted @ 2016-10-04 18:22 jhz033 阅读(122) 评论(0) 推荐(0)
摘要:C. Destroying Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Destroying Array t 阅读全文
posted @ 2016-10-02 17:32 jhz033 阅读(131) 评论(0) 推荐(0)
摘要:D. Generating Sets time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a set Y 阅读全文
posted @ 2016-10-02 16:17 jhz033 阅读(181) 评论(0) 推荐(0)