- 博客(21)
- 收藏
- 关注
原创 codeforces 895d string mark
D. String Marktime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAt the Byteland State University marks are strings of the same length. Mark x is con...
2018-02-27 16:46:11 363
原创 codeforces895c Square Subsets
C. Square Subsetstime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya was late for the lesson too. The teacher gave him an additional task. For s...
2018-02-27 16:40:18 472
原创 codeforces900D Unusual Sequences
D. Unusual Sequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCount the number of distinct sequences a1, a2, ..., an (1 ≤ ai) consisting of p...
2018-02-27 16:33:35 337
原创 codeforces920G List Of Integers
G. List Of Integerstime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's denote as L(x, p) an infinite sequence of integers y such that gcd(p, y) ...
2018-02-27 16:01:26 366
原创 codeforces 908E New Year and Entity Enumeration
E. New Year and Entity Enumerationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer m.Let M = 2m - 1.You are also given a s...
2018-02-27 15:52:54 376
原创 codeforces 932e Team Work
E. Team Worktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a team of N people. For a particular task, you can pick any non-empty subset ...
2018-02-27 15:43:32 388
原创 codeforces 938e Max History
E. Max Historytime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array a of length n. We define fa the following way:Initially fa = ...
2018-02-27 15:35:37 455
原创 codeforces 486d Valid Sets
D. Valid Setstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you know, an undirected connected graph with n nodes and n - 1 edges is called a tr...
2018-02-27 15:25:47 251
原创 codeforces 850b Arpa and a list of numbers
B. Arpa and a list of numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputArpa has found a list containing n numbers. He calls a list bad if an...
2018-02-27 15:15:51 205
原创 codeforces789D Weird journey
D. Weird journeytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle boy Igor wants to become a traveller. At first, he decided to visit all the...
2018-02-27 14:56:21 819
原创 codeforces 893e Counting Arrays
E. Counting Arraystime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two positive integer numbers x and y. An array F is called an y-fa...
2018-02-27 11:46:48 443
原创 codeforces888G Xor-MST
G. Xor-MSTtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a complete undirected graph with n vertices. A number ai is assigned to ea...
2018-02-27 11:37:45 356
原创 codeforces 888D Almost Identity Permutations
D. Almost Identity Permutationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA permutation p of size n is an array such that every integer from ...
2018-02-27 11:27:47 464
原创 codeforces859E Desk Disorder
E. Desk Disordertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA new set of desks just arrived, and it's about time! Things were getting quite cr...
2018-02-27 11:22:46 402
原创 codeforces869c The Intriguing Obsession
C. The Intriguing Obsessiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output— This is not playing but duty as allies of justice, Nii-chan!— Not alli...
2018-02-27 11:11:14 320
原创 codeforces 852F Product transformation
F. Product transformationtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputConsider an array A with N elements, all being the same integer a.Define ...
2018-02-27 11:02:35 279
原创 codeforces 886E&&889C Maximum Element
E. Maximum Elementtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Petya was solving a very interesting problem. But although he used many ...
2018-02-27 10:55:10 681
原创 codeforces 856c Eleventh Birthday
C. Eleventh Birthdaytime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputIt is Borya's eleventh birthday, and he has got a great present: n cards with ...
2018-02-26 11:08:49 555
原创 codeforces 914c Travelling Salesman and Special Numbers
C. Travelling Salesman and Special Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Travelling Salesman spends a lot of time travelling s...
2018-02-22 11:13:15 467
原创 codeforces 52B Right Triangles
B. Right Trianglestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a n × m field consisting only of periods ('.') and asterisks ('*')...
2018-02-22 11:07:49 780
原创 codeforces 870E Points, Lines and Ready-made Titles
E. Points, Lines and Ready-made Titlestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n distinct points on a plane with integral coo...
2018-02-22 09:11:20 340
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人