
ACM - 简单题
文章平均质量分 82
LP_Cong
Python, Qt C++ Developer ACMer https://github.com/Linzecong
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU - 6098 Inversion (2017 Multi-University Training Contest - Team 6)
(2017 Multi-University Training Contest - Team 6)原创 2017-08-10 18:55:03 · 368 阅读 · 0 评论 -
Codeforces - 842A Kirill And The Game
A. Kirill And The Gametime limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputKirill plays a new computer game原创 2017-09-02 00:36:43 · 334 阅读 · 0 评论 -
Codeforces - 849A Odds and Ends
Odds and Endstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhere do odds begin, and where do they end? Wh原创 2017-09-02 00:49:56 · 585 阅读 · 0 评论 -
Codeforces - 862C Mahmoud and Ehab and the xor
C. Mahmoud and Ehab and the xorMahmoud and Ehab are on the third stage of their adventures now. As you know, Dr. Evil likes sets. This time he won't show them any set from his large collecti原创 2017-09-20 15:55:20 · 1278 阅读 · 0 评论 -
HDU - 6213 Chinese Zodiac (2017 ACM-ICPC 亚洲区 (青岛赛区) 网络赛 1008)
2017 ACM/ICPC Asia Regional Qingdao Online 1008Chinese ZodiacProblem DescriptionThe Chinese Zodiac, known as Sheng Xiao, is based on a twelve-year cycle, each year in the cycle relat原创 2017-09-17 20:10:47 · 883 阅读 · 0 评论 -
GYM - 101485K Kitchen Combinatorics
题意:这是道阅读题,认认真真读完题就好了……解题思路:读完题之后就会发现,是一道简单题。难点在于怎么判断大于1e18……这里我用了long double 去判断……#include#include#include#include#include#include#include#include#include#include#include#in原创 2017-10-09 18:00:15 · 650 阅读 · 0 评论 -
GYM - 100812D Dream of Sum (记录前缀和位置)
Dream of Sumtime limit per test2.0 smemory limit per test256 MBinputstandard inputoutputstandard outputSometimes you must fall in order to rise but I seemed to原创 2017-11-30 23:45:08 · 291 阅读 · 0 评论 -
GYM - 100812J Feeling of Comradeship (暴力)
Feeling of Comradeshiptime limit per test2.0 smemory limit per test256 MBinputstandard inputoutputstandard outputI was tired. Tired of hiding and wandering. Thr原创 2017-12-01 00:05:51 · 331 阅读 · 1 评论 -
GYM - 100812B Set of Tasks (思维好题)
Set of Taskstime limit per test2.0 smemory limit per test256 MBinputstandard inputoutputstandard outputI was heading to the old tavern «ChivalryForces», because原创 2017-12-02 16:02:00 · 408 阅读 · 0 评论 -
HihoCoder - 1631 Cats and Fish (2017ICPC北京站 模拟)
#1631 : Cats and Fish时间限制:1000ms单点时限:1000ms内存限制:256MB描述There are many homeless cats in PKU campus. They are all happy because the students in the cat club of PKU take goo原创 2017-11-25 18:36:02 · 364 阅读 · 0 评论 -
HihoCoder - 1632 Secret Poems (2017ICPC北京站 模拟)
#1632 : Secret Poems时间限制:1000ms单点时限:1000ms内存限制:256MB描述The Yongzheng Emperor (13 December 1678 – 8 October 1735), was the fifth emperor of the Qing dynasty of China. He wa原创 2017-11-25 18:38:53 · 649 阅读 · 0 评论 -
CodeForces - 919B Perfect Number (打表)
Perfect Numbertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWe consider a positive integer perfect, if a原创 2018-02-01 00:11:59 · 952 阅读 · 0 评论 -
CodeForces - 931B World Cup(模拟)
World Cuptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe last stage of Football World Cup is played using the play-off system.There are n teams...原创 2018-03-05 11:43:24 · 808 阅读 · 0 评论 -
“景驰科技杯”2018年华南理工大学程序设计竞赛 C Youhane's Undergraduate Thesis (大模拟)
链接:https://www.nowcoder.com/acm/contest/94/C大家都知道想从华南理工大学的本科毕业并不是一件简单的事情,作为一名大四即将毕业的学生,优酱正在为她的毕业论文愁眉不展,为什么呢?并不是毕业设计的课题太难了,而是毕业论文有着非常奇怪的格式要求,其中最令人头痛的就是如何正确地引用参考文献。 而众所周知,某工是一个制度非常严格而且变化速度非常快的学校。因此发生...原创 2018-04-07 22:58:44 · 645 阅读 · 0 评论 -
计蒜客 Lattice's basics in digital electronics(2018 ICPC亚洲区域赛网络赛 沈阳 I)(大模拟)
LATTICE is learning Digital Electronic Technology. He is talented, so he understood all those pieces of knowledge in 10^{-9}10−9 second. In the next 10^{-9}10−9 second, he built a data decoding device...原创 2018-09-10 19:28:21 · 221 阅读 · 0 评论 -
牛客国庆集训派对Day6 B-Board (思维)
链接:https://www.nowcoder.com/acm/contest/206/B来源:牛客网 题目描述恬恬有一个nx n的数组。她在用这个数组玩游戏:开始时,数组中每一个元素都是0。恬恬会做某些操作。在一次操作中,她可以将某一行的所有元素同时加上一个值,也可以将某一列的所有元素同时加上一个值。在几次操作后,一个元素被隐藏了。你能帮助她回忆隐藏的数是几吗?输入描述:...原创 2018-10-06 19:11:06 · 499 阅读 · 0 评论 -
CodeForces - 1064C Oh Those Palindromes(思维)
C. Oh Those Palindromestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA non-empty string is called palindrome, if it reads the ...原创 2018-10-14 23:34:08 · 349 阅读 · 2 评论 -
HDU - 6195 cable cable cable (2017 ACM-ICPC 亚洲区 (沈阳赛区) 网络赛 1002)
cable cable cableProblem DescriptionConnecting the display screen and signal sources which produce different color signals by cables, then the display screen can show the color of the signal原创 2017-09-10 22:41:33 · 1200 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(乌鲁木齐赛区)网络赛 C. Coconut
题目:暂时看不到……有的看了再更新题目信息……题意:签到题解题思路:签到题#include#include#include#include#include#include#include#include#include#include#include#include#define INF 1<<29using namespace std;原创 2017-09-09 20:34:33 · 574 阅读 · 0 评论 -
HDU - 6106 Classes (2017 Multi-University Training Contest - Team 6)
(2017 Multi-University Training Contest - Team 6)原创 2017-08-10 18:49:22 · 245 阅读 · 0 评论 -
C++输出谢尔宾斯基三角形
C++输出谢尔宾斯基三角形原创 2017-06-11 18:23:06 · 3680 阅读 · 3 评论 -
HDU - 5078 Osu!
解题思路:水题原创 2017-06-04 15:30:41 · 343 阅读 · 0 评论 -
POJ - 1250 Tanning Salon
解题思路:水题,与栈有点像原创 2017-06-04 15:28:04 · 364 阅读 · 0 评论 -
POJ - 3087 Shuffle'm Up
解题思路:水题,直接模拟即可原创 2017-06-04 14:37:30 · 275 阅读 · 0 评论 -
Codeforces - 845D Driving Test
Driving TestPolycarp has just attempted to pass the driving test. He ran over the straight road with the signs of four types.speed limit: this sign comes with a positive integer number —原创 2017-08-22 16:25:41 · 350 阅读 · 0 评论 -
Codeforces - 845C Two TVs
Two TVstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is a great fan of television.He wrote原创 2017-08-22 12:43:48 · 544 阅读 · 1 评论 -
Codeforces - 845B Luba And The Ticket
Luba And The Tickettime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLuba has a ticket consisting of 6 digit原创 2017-08-22 11:57:09 · 633 阅读 · 0 评论 -
Codeforces - 840A Leha and Function
A. Leha and FunctionLeha like all kinds of strange things. Recently he liked the function F(n, k). Consider all possible k-element subsets of the set [1, 2, ..., n]. For subset find minimal原创 2017-08-19 18:37:19 · 431 阅读 · 2 评论 -
hihoCoder - 1578 Visiting Peking University (2017 ACM-ICPC 亚洲区 (北京赛区) 网络赛 A)
ACM-ICPC国际大学生程序设计竞赛北京赛区(2017)网络赛 A#1578 : Visiting Peking University时间限制:1000ms单点时限:1000ms内存限制:256MB描述Ming is going to travel for n days and the date of these原创 2017-09-23 18:27:39 · 484 阅读 · 0 评论 -
Codeforces - 862A Mahmoud and Ehab and the MEX
Codeforces 862A Mahmoud and Ehab and the MEXA. Mahmoud and Ehab and the MEXDr. Evil kidnapped Mahmoud and Ehab in the evil land because of their performance in the Evil Olympiad in Informatics (EOI). He decided to give them some problems原创 2017-09-20 11:35:41 · 384 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(南宁赛区)网络赛 A. Weather Patterns
Consider a system which is described at any time as being in one of a set of NN distinct states, 1,2,3,...,N1,2,3,...,N. We denote the time instants associated with state changes as t = 1,2,...t原创 2017-09-24 17:24:49 · 1424 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(南宁赛区)网络赛 B. Train Seats Reservation
You are given a list of train stations, say from the station 11 to the station 100100.The passengers can order several tickets from one station to another before the train leaves the station one.原创 2017-09-24 17:28:34 · 415 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(南宁赛区)网络赛 H. A Cache Simulator
Cache memories have been used widely in current microprocessor systems. In this problem, you are asked to write a program for a cache simulator. The cache has the following metrics:1. The cache size原创 2017-09-24 17:40:17 · 1200 阅读 · 0 评论 -
2017 ACM-ICPC 亚洲区(南宁赛区)网络赛 M. Frequent Subsets Problem
The frequent subset problem is defined as follows. Suppose UU={1, 2,\ldots…,N} is the universe, and S_{1}S1, S_{2}S2,\ldots…,S_{M}SMare MM sets over UU. Given a positive constant \alp原创 2017-09-24 18:47:52 · 923 阅读 · 6 评论 -
2017 ACM-ICPC 亚洲区(乌鲁木齐赛区)网络赛 A. Banana
题目:暂时看不到……有的看了再更新题目信息……题意:有一堆猴子,每只猴子都有自己喜欢的香蕉类型,然后香蕉会出现在指定的位置,问每只猴子是否能在每个地方吃到自己喜欢的香蕉解题思路:暴力处理即可,签到题。#include#include#include#include#include#include#include#include#inclu原创 2017-09-09 20:26:45 · 1230 阅读 · 0 评论 -
UVALive - 7503 Change (枚举)
解题思路:枚举即可!然后突然就会发现规律了! #include <iostream>#include <cstring>#include <map>#include <vector>#include <algorithm>using namespace std;typedef long long...原创 2018-11-15 21:56:59 · 281 阅读 · 0 评论