平时刷的水题
6饼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #138 (Div. 2)--Parallelepiped(水题)
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 224A Description You've got a rectangular parallelepiped with integer e原创 2014-10-26 19:36:07 · 833 阅读 · 0 评论 -
排序问题(结构体排序)
题目描述 输入10个整数,将它们从小到大排序后输出,并给出现在每个元素在原来序列中的位置。 输入 输入数据有一行,包含10个整数,用空格分开。 输出 输出数据有两行,第一行为排序后的序列,第二行为排序后各个元素在原来序列中的位置。 示例输入 1 2 3 5 4 6 8 9 10 7 示例输出 1 2 3 4 5 6 7 8 9 10 1 2原创 2014-11-06 20:40:21 · 631 阅读 · 0 评论 -
交叉排序
题目描述 输入N个数,把所有奇数位置上的数从小到大排序,把偶数位置上的数从大到小排序。 输入 输入的第一行是一个正整数N(2 第二行是N个用空格隔开的整数。 输出 输出只有一行N个数,是按要求排序后的序列,用空格隔开。 示例输入 6 1 2 3 4 5 6 示例输出 1 6 3 4 5 2原创 2014-11-06 20:37:24 · 698 阅读 · 0 评论 -
poj2524--Ubiquitous Religions
Ubiquitous Religions Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description There are so many different religions in the worl原创 2014-10-21 08:34:14 · 537 阅读 · 0 评论 -
CodeForces 478C--Table Decorations
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 478C Description You have r red, g green and b blue balloons. To decorate原创 2014-10-19 13:44:45 · 1158 阅读 · 0 评论 -
codeforces 327A
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 327A Description Iahub got bored, so he invented a game to be played on p原创 2014-10-19 13:04:27 · 743 阅读 · 0 评论 -
Who's in the Middle
#include #include #include #include using 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 · 504 阅读 · 0 评论 -
poj2015--IP Address
A - IP Address Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2105 Appoint description: System Crawler (2013-07-31) Descriptio原创 2014-10-17 12:01:03 · 613 阅读 · 0 评论 -
poj1552-double
题意:给一组数字,看这个数字原创 2014-10-14 21:05:12 · 447 阅读 · 0 评论 -
Codeforces Round#478--Random Teams
B. Random Teams time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output n participants of the competition were s原创 2014-10-26 20:07:35 · 574 阅读 · 0 评论 -
codeforces Round #474--A.Keyboard
C - 内马尔 Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 474A Description Our good friend Mole is trying to code a big me原创 2014-10-26 19:41:45 · 669 阅读 · 0 评论 -
Codeforces Round #271 (Div. 2)--B.Worms
堆栈溢出gomhttp://www.bitscn.com/network/hack/201002/180562.html原创 2014-10-27 17:15:35 · 710 阅读 · 0 评论
分享