随笔分类 -  高中信息竞赛

摘要:提交地址:http://codevs.cn/problem/2964/ 2964 公共素数因数 时间限制: 1 s 空间限制: 32000 KB 题目等级 : 白银 Silver 题解 提交地址:http://codevs.cn/problem/2964/ 2964 公共素数因数 提交地址:http 阅读全文
posted @ 2016-05-22 16:37 月沫 阅读(165) 评论(0) 推荐(0)
摘要:题目描述:连续输入n组数(2个/组),求每组数的最大公约数输入描述:第一行输入一个整数n,之后每行两个整数x,y输出描述:n行,每行一个数,为x,y的最大公约数直接上代码--> 1 #include 2 3 using namespace std; 4 5 int n,x,y; 6 7 int gcd(int a,int b) 8 { 9 int c=a%... 阅读全文
posted @ 2016-05-22 16:20 月沫 阅读(533) 评论(0) 推荐(0)
摘要:提交地址:http://codevs.cn/problem/3249/ 3249 搭积木 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题解 3249 搭积木 3249 搭积木 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间 阅读全文
posted @ 2016-05-22 15:36 月沫 阅读(178) 评论(0) 推荐(0)
摘要:提交地址:http://poj.org/problem?id=1046 Color Me Less Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 32987 Accepted: 16037 Description A color 阅读全文
posted @ 2016-05-22 11:02 月沫 阅读(253) 评论(0) 推荐(0)
摘要:提交地址:http://poj.org/problem?id=1012 Joseph Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 52098 Accepted: 19839 Description The Joseph's p 阅读全文
posted @ 2016-05-22 10:30 月沫 阅读(148) 评论(0) 推荐(0)
摘要:提交地址:http://cojs.tk/cogs/problem/problem.php?pid=908 cojs 908. 校园网 cojs 908. 校园网 cojs 908. 校园网 ★★ 输入文件:schlnet.in 输出文件:schlnet.out 简单对比时间限制:1 s 内存限制:1 阅读全文
posted @ 2016-05-21 10:17 月沫 阅读(166) 评论(0) 推荐(0)
摘要:提交地址:http://cojs.tk/cogs/problem/problem.php?pid=619 619. [金陵中学2007] 传话 ★☆ 输入文件:messagez.in 输出文件:messagez.out 简单对比时间限制:1 s 内存限制:128 MB [问题描述] 兴趣小组的同学来 阅读全文
posted @ 2016-05-19 19:47 月沫 阅读(155) 评论(0) 推荐(0)
摘要:DP+暴力 提交地址:http://poj.org/problem?id=1050 To the Max Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 45915 Accepted: 24282 Description Give 阅读全文
posted @ 2016-05-16 19:59 月沫 阅读(162) 评论(0) 推荐(0)
摘要:提交地址:http://poj.org/problem?id=1163&lang=default&change=true 中文翻译:http://codevs.cn/problem/1220/ The Triangle Time Limit: 1000MS Memory Limit: 10000K 阅读全文
posted @ 2016-05-15 15:40 月沫 阅读(179) 评论(0) 推荐(0)
摘要:提交地址:http://poj.org/problem?id=1088 滑雪 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 89171 Accepted: 33477 Description Michael喜欢滑雪百这并不奇怪, 阅读全文
posted @ 2016-05-15 15:24 月沫 阅读(146) 评论(0) 推荐(0)
摘要:1298. 通讯问题 ★ 输入文件:jdltt.in 输出文件:jdltt.out 简单对比 时间限制:1 s 内存限制:128 MB 【题目描述】 【题目描述】 一个篮球队有n个篮球队员,每个队员都有联系方式(如电话、电子邮件等)。但并不是每个队员的联系方式都公开,每个队员的联系方式只有一部分队员 阅读全文
posted @ 2016-05-15 08:54 月沫 阅读(159) 评论(0) 推荐(0)
摘要:1570. [POJ3461]乌力波 ★☆ 输入文件:oulipo.in 输出文件:oulipo.out 简单对比 时间限制:1 s 内存限制:256 MB 【题目描述】 【题目描述】 法国作家乔治·佩雷克(Georges Perec,1936-1982)曾经写过一本书,《敏感字母》(La disp 阅读全文
posted @ 2016-05-15 08:51 月沫 阅读(173) 评论(0) 推荐(0)
摘要:先来一发题目: 1690 开关灯 时间限制: 1 s 空间限制: 128000 KB 题目描述 Description YYX家门前的街上有N(2<=N<=100000)盏路灯,在晚上六点之前,这些路灯全是关着的,六点之后,会有M(2<=m<=100000)个人陆续按下开关,这些开关可以改变从第i盏 阅读全文
posted @ 2016-05-15 08:49 月沫 阅读(199) 评论(0) 推荐(0)
摘要:cojs 173. 词链 ★☆ 输入文件:link.in 输出文件:link.out 简单对比时间限制:1 s 内存限制:128 MB cojs 173. 词链 【问题描述】给定一个仅包含小写字母的英文单词表,其中每个单词最多包含 50 个字母。 如果一张由一个词或多个词组成的表中,每个单词(除了最 阅读全文
posted @ 2016-05-14 05:51 月沫 阅读(369) 评论(0) 推荐(0)
摘要:Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 43893 Accepted: 20585 Case Time Limit: 2000MS Description For the daily mil 阅读全文
posted @ 2016-05-14 05:43 月沫 阅读(252) 评论(0) 推荐(0)