CF
文章平均质量分 58
vocaloid01
小菜鸟一只_(:з」∠)_前来膜拜各路大佬orz
展开
-
Codeforces 742B Arpa’s obvious problem and Mehrdad’s terrible solution
There are some beautiful girls in Arpa’s land as mentioned before.Once Arpa came up with an obvious problem:Given an array and a number x, count the number of pairs of indices i, j (1 ≤ i < j ≤ n) such原创 2017-09-14 20:20:28 · 200 阅读 · 0 评论 -
Codeforces-716A-Crazy Computer
Time limit 2000 ms Memory limit 262144 kBZS the Coder is coding on a crazy computer. If you don't type in a word for a c consecutive seconds, everything you typed disappear!More formally, if原创 2017-10-14 16:50:23 · 256 阅读 · 0 评论 -
CF 842A - Kirill And The Game
A. Kirill And The Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kirill plays a new computer game. He came to the potion store wher原创 2017-08-31 15:31:27 · 410 阅读 · 0 评论 -
CodeForces - 631A Interview
Blake is a CEO of a large company called "Blake Technologies". He loves his company very much and he thinks that his company should be the best. That is why every candidate needs to pass through the in原创 2017-09-29 11:33:45 · 298 阅读 · 0 评论 -
Print Check CodeForces - 631B
Kris works in a large company "Blake Technologies". As a best engineer of the company he was assigned a task to develop a printer that will be able to print horizontal and vertical strips. First protot原创 2017-09-29 11:30:16 · 206 阅读 · 0 评论 -
Codeforces Round #435 A. Mahmoud and Ehab and the MEX
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputDr. Evil kidnapped Mahmoud and Ehab in the evil land because of their performance in原创 2017-09-20 12:03:49 · 275 阅读 · 0 评论 -
Servers ---CodeForces - 747C
There are n servers in a laboratory, each of them can perform tasks. Each server has a unique id — integer from 1 to n.It is known that during the day q tasks will come, the i-th of them is characteriz原创 2017-09-10 21:47:18 · 267 阅读 · 0 评论 -
CodeForces 359A Table
Simon has a rectangular table consisting of n rows and m columns. Simon numbered the rows of the table from top to bottom starting from one and the columns — from left to right starting from one. We'l原创 2017-08-29 21:05:15 · 336 阅读 · 0 评论 -
CodeForces - 359B Permutation
A permutation p is an ordered group of numbers p1, p2, ..., pn, consisting of n distinct positive integers, each is no more than n. We'll define number n as the length of permutation p1, p2,原创 2017-08-29 21:27:04 · 276 阅读 · 0 评论 -
Codeforces 842B - Gleb And Pizza
B. Gleb And Pizza time limit per test 2 seconds原创 2017-08-31 15:06:05 · 343 阅读 · 0 评论 -
【codeforces 750A】New Year and Hurry
Limak is going to participate in a contest on the last day of the 2016. The contest will start at 20:00 and will last four hours, exactly until midnight. There will be n problems, sorted by difficulty,原创 2017-09-07 20:24:10 · 289 阅读 · 0 评论 -
CF 863A - Quasi-palindrome
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputLet quasi-palindromic number be such number that adding some leading zeros (possible n原创 2017-09-22 18:28:27 · 297 阅读 · 0 评论 -
补题补题补题~~~~really big numbers
B - Really Big Numbers CodeForces - 817C 不是啥难题,直接上代码吧。 #include<stdio.h> #include<string.h> #include<math.h> #include<stdlib.h> int BigNumbers(long long n) { int sum = 0...原创 2017-07-16 20:57:13 · 293 阅读 · 0 评论