
平时刷的水题
6饼
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #138 (Div. 2)--Parallelepiped(水题)
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 224ADescriptionYou've got a rectangular parallelepiped with integer e原创 2014-10-26 19:36:07 · 807 阅读 · 0 评论 -
排序问题(结构体排序)
题目描述输入10个整数,将它们从小到大排序后输出,并给出现在每个元素在原来序列中的位置。输入输入数据有一行,包含10个整数,用空格分开。输出输出数据有两行,第一行为排序后的序列,第二行为排序后各个元素在原来序列中的位置。示例输入1 2 3 5 4 6 8 9 10 7示例输出1 2 3 4 5 6 7 8 9 101 2原创 2014-11-06 20:40:21 · 607 阅读 · 0 评论 -
交叉排序
题目描述输入N个数,把所有奇数位置上的数从小到大排序,把偶数位置上的数从大到小排序。输入输入的第一行是一个正整数N(2第二行是N个用空格隔开的整数。输出输出只有一行N个数,是按要求排序后的序列,用空格隔开。示例输入61 2 3 4 5 6示例输出1 6 3 4 5 2原创 2014-11-06 20:37:24 · 681 阅读 · 0 评论 -
poj2524--Ubiquitous Religions
Ubiquitous ReligionsTime Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere are so many different religions in the worl原创 2014-10-21 08:34:14 · 513 阅读 · 0 评论 -
CodeForces 478C--Table Decorations
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 478CDescriptionYou have r red, g green and b blue balloons. To decorate原创 2014-10-19 13:44:45 · 1131 阅读 · 0 评论 -
codeforces 327A
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 327ADescriptionIahub got bored, so he invented a game to be played on p原创 2014-10-19 13:04:27 · 714 阅读 · 0 评论 -
Who's in the Middle
#include#include#include#includeusing namespace std;int main(){ int s[10010], n, i; while(~scanf("%d", &n)) { for(i=0; i<n; i++) scanf("%d", &s[i]); sort(原创 2014-10-17 14:47:31 · 481 阅读 · 0 评论 -
poj2015--IP Address
A - IP AddressTime Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2105Appoint description: System Crawler (2013-07-31)Descriptio原创 2014-10-17 12:01:03 · 594 阅读 · 0 评论 -
poj1552-double
题意:给一组数字,看这个数字原创 2014-10-14 21:05:12 · 422 阅读 · 0 评论 -
Codeforces Round#478--Random Teams
B. Random Teamstime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputn participants of the competition were s原创 2014-10-26 20:07:35 · 542 阅读 · 0 评论 -
codeforces Round #474--A.Keyboard
C - 内马尔Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 474ADescriptionOur good friend Mole is trying to code a big me原创 2014-10-26 19:41:45 · 642 阅读 · 0 评论 -
Codeforces Round #271 (Div. 2)--B.Worms
堆栈溢出gomhttp://www.bitscn.com/network/hack/201002/180562.html原创 2014-10-27 17:15:35 · 682 阅读 · 0 评论