- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 A. Mahmoud and Longest Uncommon Subsequence 字符串数组qwq
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhile Mahmoud and Ehab were practicing for IOI, they found a problem which name was Longest co...
2019-06-15 09:34:07 155
原创 A. Wet Shark and Odd and Even
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Wet Shark is given n integers. Using any of these integers no more than once, Wet Shark...
2019-06-12 12:43:54 104
原创 B. Lovely Palindromes 震惊!字符数组长度竟然可以无视?????!!!
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPari has a friend who loves palindrome numbers. A palindrome number is a number that reads the ...
2019-06-11 11:57:55 184
原创 A. Lineland Mail 思维题
time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAll cities of Lineland are located on the Ox coordinate axis. Thus, each city is associated wi...
2019-06-11 11:29:02 305
原创 B. Lecture字符串的处理问题 包含strcmp 与字符串数组
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a new professor of graph theory and he speaks very quickly. You come up with the follo...
2019-06-09 12:08:07 199
原创 校赛
不可以自视很高,期望越大,压力越大,心态不就崩了吗,呵呵。软件我最菜。///***Created by Xiang wang *** ACMÈÙҫ֮·***//#include <bits/stdc++.h>#include<iostream>#include<cstring>#include<algorithm>#include...
2019-06-09 11:42:49 207
原创 A. Duff and Meat 贪心搞一搞
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-t...
2019-06-09 09:42:51 184
原创 B. Buttons 数学题 推导公式
B. Buttonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputManao is trying to open a rather challenging lock. The lock has n buttons on it ...
2019-06-07 15:50:06 254
原创 A. Keyboard 模拟即可
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputManao is trying to open a rather challenging lock. The lock has n buttons on it and to open it,...
2019-06-07 14:58:25 244
原创 CF707A Brain's Photos 字符的处理问题 空格 换行
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSmall, but very brave, mouse Brain was not accepted to summer school of young villains. He was...
2019-06-05 18:34:52 163
原创 A. Raising Bacteria 分解思想 模拟位运算
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are a lover of bacteria. You want to raise some bacteria in a box.Initially, the box is em...
2019-06-05 18:07:51 226
原创 A. Even Odds找规律 分别判断
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBeing a nonconformist, Volodya is displeased with the current state of things, particularly wit...
2019-06-04 11:37:43 260
原创 C - Kefa and First Steps CodeForces - 580A
Kefa decided to make some money doing business on the Internet for exactly n days. He knows that on the i-th day (1 ≤ i ≤ n) he makes ai money. Kefa loves progress, that’s why he wants to know the len...
2019-06-01 16:35:52 158
原创 J - 第几天?
给定一个日期,输出这个日期是该年的第几天。Input输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample input ,另外,可以向你确保所有的输入数据是合法的。Output对于每组输入数据,输出一行,表示该日期是该年的第几天。Sample Input1985/1/202006/3/12Sample Output2071思路:注意区分平闰年即可...
2019-06-01 09:19:10 245 2
原创 A - Marjar Cola ZOJ - 3948 模拟题
In computer science, the Knuth-Morris-Pratt string searching algorithm (or KMP algorithm) searches for occurrences of a “word” W within a main “text string” S by employing the observation that when a ...
2019-06-01 09:10:02 259
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人