CF
文章平均质量分 79
蚕豆儿
这个作者很懒,什么都没留下…
展开
-
Triangular numbers
http://codeforces.com/problemset/problem/47/ATriangular numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputst原创 2013-08-13 15:11:56 · 1443 阅读 · 0 评论 -
Strange Addition
http://codeforces.com/problemset/problem/305/A这题就是意思没看懂,一开始以为只要个位数只要一个为0就能相加,没想到到CF里面提交第三组就过不了,才发现是要各个位上面都要有一个为0的时候才能相加。题意很重要。。。。AC代码:#include#include#includeusing namespace std;in原创 2013-08-12 15:32:04 · 960 阅读 · 0 评论 -
I_love_%username%
http://codeforces.com/problemset/problem/155/AI_love_%username%time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputst原创 2013-08-09 19:38:33 · 1177 阅读 · 0 评论 -
The World is a Theatre
http://codeforces.com/problemset/problem/131/CThe World is a Theatretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutpu原创 2013-08-09 19:41:24 · 889 阅读 · 0 评论 -
Beautiful Year
http://codeforces.com/problemset/problem/271/ABeautiful Yeartime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstand原创 2013-08-09 19:35:54 · 1145 阅读 · 0 评论 -
Airport
http://codeforces.com/problemset/problem/218/BAirporttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard out原创 2013-08-09 16:54:23 · 784 阅读 · 0 评论 -
System of Equations
http://codeforces.com/problemset/problem/214/ASystem of Equationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutput原创 2013-08-09 08:17:34 · 1003 阅读 · 0 评论 -
Dragons
http://codeforces.com/problemset/problem/230/ADragonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard out原创 2013-08-09 08:14:39 · 1005 阅读 · 0 评论 -
Theatre Square
http://codeforces.com/problemset/problem/1/ATheatre Squaretime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard原创 2013-08-08 08:34:19 · 1537 阅读 · 0 评论 -
Team
http://codeforces.com/problemset/problem/231/A Teamtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outpu原创 2013-08-08 08:38:36 · 616 阅读 · 0 评论 -
Robot Instructions
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3947Robot InstructionsYou have a robot standing on the origin of x axis. The robot will be given some instructions. Your task is to predict its position aft原创 2013-08-08 08:46:39 · 1152 阅读 · 0 评论 -
Magic Numbers
原题网址:http://codeforces.com/problemset/problem/320/AA. Magic Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard原创 2013-06-25 18:51:52 · 997 阅读 · 0 评论 -
Lucky Division
Lucky Divisiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves lucky numbers. Everybody knows t原创 2013-08-05 19:25:13 · 948 阅读 · 0 评论 -
Stones on the Table
题目网址:http://codeforces.com/problemset/problem/266/AStones on the Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard原创 2013-08-05 20:00:06 · 1080 阅读 · 0 评论 -
Ciel and Dancing
题目网址:http://codeforces.com/contest/322/problem/A题目大致意思是在一个房间里面有n个男孩和m个女孩一起跳舞,然后每首歌能跳一次,男女搭配跳舞时至少有一个人没有和任何人跳过。 然后问你能跳几首歌。输入的是男孩和女孩的人数,输出第一行为最多跳的歌曲数k,接下来的k行为男女跳舞的顺序(男女生用1到n,m编号表示)A. Ciel and Danci原创 2013-06-29 20:31:26 · 1330 阅读 · 0 评论 -
Sereja and Bottles
http://codeforces.com/problemset/problem/315/A题目意思是第ai的瓶子能开bi的瓶子。给你相应的数据,求无法用其他瓶子打开的数量(即需要外力)。一开始看错题了,以为是并查集。。。AC代码:#include#include#include#includeusing namespace std;struct node{原创 2013-08-16 16:55:21 · 1048 阅读 · 0 评论