码迷,mamicode.com
首页 >  
搜索关键字:gym    ( 996个结果
2015-2016 ACM-ICPC, NEERC, Northern Subregional Contest D:Distribution in Metagonia(构造)
http://codeforces.com/gym/100801/attachments 题意:给出一个数n(1 <= n <= 1e18),将 n 拆成 m 个整数,其中 m 必须是 2^x * 3^y 的形式,并且 x 和 y 不能被彼此整除, 输出 m 并将这些整数输出。 思路:Inspire ...
分类:Web程序   时间:2016-07-31 14:25:26    阅读次数:240
Gym 100971A Treasure Island BFS 思维题
A - Treasure Island Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status A - Treasure Island Submit Status Description ...
分类:其他好文   时间:2016-07-23 22:57:17    阅读次数:290
Gym 100989E 字符串
Description standard input/output Islam is usually in a hurry. He often types his passwords incorrectly. He hates retyping his password several times ...
分类:其他好文   时间:2016-07-12 17:32:36    阅读次数:164
Gym 100971D Laying Cables 单调栈
Description One-dimensional country has n cities, the i-th of which is located at the point xi and has population pi, and all xi, as well as all pi, a ...
分类:其他好文   时间:2016-07-12 17:26:10    阅读次数:158
Gym 100989F 水&愚&vector
standard input/output You must have heard about Agent Mahone! Dr. Ibrahim hired him to catch the cheaters in the Algorithms course. N students cheated ...
分类:其他好文   时间:2016-07-12 01:31:02    阅读次数:137
Gym 100971C 水&愚&三角形
Description standard input/output Announcement Statements There is a set of n segments with the lengths li. Find a segment with an integer length so t ...
分类:其他好文   时间:2016-07-12 01:30:36    阅读次数:126
Gym 100971B 水&愚
Description standard input/output Announcement Statements A permutation of n numbers is a sequence of integers from 1 to n where each number is occurr ...
分类:其他好文   时间:2016-07-12 01:27:25    阅读次数:178
UESTC 2016 Summer Training #1 Div.2
最近意志力好飘摇..不知道坚不坚持得下去.. 这么弱还瞎纠结...可以滚了.. 水题都不会做.. LCS (A) 水 LCS (B) 没有看题 Gym 100989C 水 1D Cafeteria (B) 不会捉 Gym 100989E 水 Gym 100989F 水 Mission in Amma ...
分类:其他好文   时间:2016-07-11 23:55:28    阅读次数:136
SYSU-7, Gym 100273J, trie+hash
cnm毛子的题是正宗内家拳法啊orz(捶地),拼的就是智商,这题我们队想了老半天后缀自动机,掏出各种黑科技无果 题目大意:构建一个自动机可以表达给定的n个串,询问最小的自动机节点树为多少。 解:最裸的自动机其实就是一棵trie,那么我们考虑优化这棵trie,考虑拓扑排序倒过来做,可以发现其实如果两个 ...
分类:其他好文   时间:2016-07-07 23:56:55    阅读次数:204
coderforces Gym 100803A/Aizu 1345/CSU 1536/UVALive 6832 Bit String Reordering(未完)
Portal: http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1345 http://codeforces.com/gym/100803/attachments A题 好题! 坑不多,切入比较难 一开始的想法是暴力,由于求得是最小解 ...
分类:其他好文   时间:2016-07-07 19:44:02    阅读次数:207
996条   上一页 1 ... 75 76 77 78 79 ... 100 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!