随笔分类 - 排序
摘要:Time Limit: 1 secondMemory Limit: 128 MB【问题描述】 全国英语四级考试就这样如期到来了.可是小Y依然没有做好充分的准备。为了能够大学毕业,可怜的小Y决定作弊。(太胆大妄为了,不怕被学校开除!!) 小Y费尽心机,在考试的时候夹带了一本字典进考场。但是现在...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】某市组织了一次中学生科技全能竞赛,每个选手要参加数学、物理、化学、天文、地理、生物、计算机和英语共八项竞赛。最后综合八项竞赛的成绩排出总名次。选手编号依次为:1,2…N(N为参赛总人数)。 ...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】英语四级考试临近了,小Y却发现他已经把以前学的单词几乎忘光了。好在现在离考试还有一段时间,小Y决定从现在开始夜以继日地背单词。也就是说小Y废寝忘食,一天二十四小时地背单词。 今天的日期(时间...
阅读全文
摘要:Time Limit: 10 second Memory Limit: 2 MB问题描述 某石油公司计划建造一条由东向西的主输油管道。该管道要穿过一个有n 口油井的油 田。从每口油井都要有一条输油管道沿最短路经(或南或北)与主管道相连。如果给定n口油 井的位置,即它们的x 坐标(东西...
阅读全文
摘要:time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output Anton likes to play chess. Also, he ...
阅读全文
摘要:time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output Bob has a favorite number k and ai o...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Little Vlad is fond of popular comput...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given a table consisting of ...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】 有一个整数序列,我们不知道她的长度是多少(即序列中整数的个数),但我们知道在某些区间中至少有多少个整数,用区间 [ai,bi,ci]来描述它,[ai,bi,ci]表示在该序列中处于[ai...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】在一个坐标轴上,有M辆坦克,第i辆坦克在时刻0处于pos[i](pos[i]>0),speed[i]个单位,在时刻k就处于pos[i]+speed[i]*k。 原点上有一炮台。炮台有N颗炮弹...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】有N个人要参加国际象棋比赛,该比赛要进行K场对弈。每个人最多参加2场对弈,最少参加0场对弈。每个人都有一个与其他人都不 相同的等级(用一个正整数来表示)。在对弈中,等级高的人必须用黑色的棋子...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Due to the increase in the number of...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】华南师大附中月考二已经结束,级长想知道最高分是谁。但是现在级长很忙,没有时间统计成绩,于是他找到了你,你能帮帮他吗? 【输入格式】第一行是一个正整数n 接下来是n行,每行为一个同学的成绩,...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output It’s that time of the year, Felicity...
阅读全文
摘要:time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output All our characters have hobbies. The...
阅读全文
摘要:time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Colonel has n badges. He wants to gi...
阅读全文
摘要:Time Limit:2s Memory Limit:1024MByteSubmissions:1074Solved:371DESCRIPTION Given a list of integers, find all the numbers which appear in the l...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output In this task you need to process a s...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Professor GukiZ likes programming co...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Arthur has bought a beautiful big tab...
阅读全文

浙公网安备 33010602011771号