码迷,mamicode.com
首页 >  
搜索关键字:strange sorting    ( 1127个结果
Educational Codeforces Round 35 E. Stack Sorting 模拟
Educational Codeforces Round 35 E. Stack Sorting 题意:长度为 n 的序列 a[] ,a[] 里的数是 1~n,一个空栈 s,一个空序列 b[]。两个操作:把 a[] 的第一个数放到 s 里; 或者把 s 的栈顶元素加到 b[] 的末尾。 如果你能通过 ...
分类:其他好文   时间:2017-12-31 00:39:37    阅读次数:168
1052. Linked List Sorting (25)
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ...
分类:其他好文   时间:2017-12-25 23:27:11    阅读次数:226
湖南大学ACM程序设计新生杯大赛(同步赛)J - Piglet treasure hunt Series 2
题目描述 Once there was a pig, which was very fond of treasure hunting. One day, when it woke up, it found itself in a strange land of treasure. As for ho ...
分类:其他好文   时间:2017-12-25 13:44:38    阅读次数:213
POJ3107Godfather(求树的重心裸题)
Last years Chicago was full of gangster fights and strange murders. The chief of the police got really tired of all these crimes, and decided to arres ...
分类:其他好文   时间:2017-12-20 13:42:57    阅读次数:196
POJ2891Strange Way to Express Integers (线性同余方程组)
Elina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is described as following: Choo ...
分类:其他好文   时间:2017-12-17 20:53:18    阅读次数:177
ACdream1430SETI(后缀自动机)
问题: Amateur astronomers Tom and Bob try to find radio broadcasts of extraterrestrial civilizations in the air. Recently they received some strange sig ...
分类:其他好文   时间:2017-12-13 23:49:23    阅读次数:207
Sorting It All Out(拓扑排序)
题目: An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to l ...
分类:编程语言   时间:2017-12-02 16:22:40    阅读次数:157
List_Delete
/*Sorting from little to large use List*/ #include <stdio.h> /* printf, scanf, NULL */ #include <stdlib.h> /* malloc, free */ struct node { int key; s ...
分类:其他好文   时间:2017-12-01 20:45:08    阅读次数:193
洛谷 P1459 三值的排序 Sorting a Three-Valued Sequence
P1459 三值的排序 Sorting a Three-Valued Sequence P1459 三值的排序 Sorting a Three-Valued Sequence P1459 三值的排序 Sorting a Three-Valued Sequence 题目描述 排序是一种很频繁的计算任务 ...
分类:编程语言   时间:2017-11-27 23:35:33    阅读次数:187
POJ2891:Strange Way to Express Integers——题解
http://poj.org/problem?id=2891 题目大意: k个不同的正整数a1,a2,...,ak。对于一些非负m,满足除以每个ai(1≤i≤k)得到余数ri。求出最小的m。 输入和输出中的所有整数都是非负数,可以用64位整数类型表示。 —————————————— 首先我们打眼一看 ...
分类:其他好文   时间:2017-11-27 21:43:10    阅读次数:154
1127条   上一页 1 ... 28 29 30 31 32 ... 113 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!