随笔分类 -  简单_基础专题

摘要:小G的循环 小G的循环 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 一回生,二回熟,三回就腻,小G用for,while循环用得太多了,累觉不爱。于是自 阅读全文
posted @ 2018-06-25 12:14 霜雪千年 阅读(126) 评论(0) 推荐(0)
摘要:三角形蛇形矩阵 三角形蛇形矩阵 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 小铠觉得各类题型是要温故而知新的,所以他叫小发出一道类似做过的题。其实,一 阅读全文
posted @ 2018-06-25 10:12 霜雪千年 阅读(527) 评论(0) 推荐(0)
摘要:整数反转 整数反转 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 给定一个32位int型的整数,把这个整数反着输出,如123,输出321。反转过程中有可 阅读全文
posted @ 2018-06-24 14:58 霜雪千年 阅读(242) 评论(0) 推荐(0)
摘要:Power Mouth Power Mouth Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: Your task is to calculate the 阅读全文
posted @ 2018-06-24 13:42 霜雪千年 阅读(207) 评论(0) 推荐(0)
摘要:数组 数组 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 给一个数组a[n],令s[i]为数组a中比a[i]大的数的个数。求数组s。 Problem D 阅读全文
posted @ 2018-06-23 10:40 霜雪千年 阅读(200) 评论(0) 推荐(0)
摘要:Problem description You have a Petri dish with bacteria and you are preparing to dive into the harsh micro-world. But, unfortunately, you don't have a 阅读全文
posted @ 2018-06-19 20:04 霜雪千年 阅读(140) 评论(0) 推荐(0)
摘要:Problem description Little Petya very much likes arrays consisting of n integers, where each of them is in the range from 1 to 109, inclusive. Recentl 阅读全文
posted @ 2018-06-18 23:45 霜雪千年 阅读(176) 评论(0) 推荐(0)
摘要:Problem description Vasya plays the sleuth with his friends. The rules of the game are as follows: those who play for the first time, that is Vasya is 阅读全文
posted @ 2018-06-18 23:28 霜雪千年 阅读(220) 评论(0) 推荐(0)
摘要:Problem description It is the middle of 2018 and Maria Stepanovna, who lives outside Krasnokamensk (a town in Zabaikalsky region), wants to rent three 阅读全文
posted @ 2018-06-18 23:10 霜雪千年 阅读(152) 评论(0) 推荐(0)
摘要:Problem description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live 阅读全文
posted @ 2018-06-17 13:22 霜雪千年 阅读(209) 评论(0) 推荐(0)
摘要:Problem description Vasya has n pairs of socks. In the morning of each day Vasya has to put on a pair of socks before he goes to school. When he comes 阅读全文
posted @ 2018-06-17 11:16 霜雪千年 阅读(151) 评论(0) 推荐(0)
摘要:Problem description Recently, Anton has found a set. The set consists of small English letters. Anton carefully wrote out all the letters from the set 阅读全文
posted @ 2018-06-17 11:03 霜雪千年 阅读(116) 评论(0) 推荐(0)
摘要:Problem description Vanya and his friends are walking along the fence of height h and they do not want the guard to notice them. In order to achieve t 阅读全文
posted @ 2018-06-17 10:21 霜雪千年 阅读(118) 评论(0) 推荐(0)
摘要:Problem description Xenia lives in a city that has n houses built along the main ringroad. The ringroad houses are numbered 1 through n in the clockwi 阅读全文
posted @ 2018-06-17 10:04 霜雪千年 阅读(198) 评论(0) 推荐(0)
摘要:Problem description There are n cows playing poker at a table. For the current betting phase, each player's status is either "ALLIN", "IN", or "FOLDED 阅读全文
posted @ 2018-06-13 23:57 霜雪千年 阅读(295) 评论(0) 推荐(0)
摘要:Problem description Manao works on a sports TV. He's spent much time watching the football games of some country. After a while he began to notice dif 阅读全文
posted @ 2018-06-13 21:26 霜雪千年 阅读(347) 评论(0) 推荐(0)
摘要:Problem description Vasily the Programmer loves romance, so this year he decided to illuminate his room with candles. Vasily has a candles.When Vasily 阅读全文
posted @ 2018-06-13 18:03 霜雪千年 阅读(314) 评论(0) 推荐(0)
摘要:Problem description Valera the Horse is going to the party with friends. He has been following the fashion trends for a while, and he knows that it is 阅读全文
posted @ 2018-06-13 17:46 霜雪千年 阅读(471) 评论(0) 推荐(0)
摘要:Problem description Bob is preparing to pass IQ test. The most frequent task in this test is to find out which one of the given n numbers differs from 阅读全文
posted @ 2018-06-11 23:29 霜雪千年 阅读(569) 评论(0) 推荐(0)
摘要:Problem description Anton likes to play chess, and so does his friend Danik. Once they have played n games in a row. For each game it's known who was 阅读全文
posted @ 2018-06-11 23:25 霜雪千年 阅读(363) 评论(0) 推荐(0)