码迷,mamicode.com
首页 >  
搜索关键字:uva live 3516    ( 10951个结果
UVA之11078 - Open Credit System
【题目】 Problem E Open Credit System Input: Standard Input Output: Standard Output In an open credit system, the students can choose any course they like, but there is a problem. Some of the stude...
分类:其他好文   时间:2014-05-03 00:22:50    阅读次数:380
UVA 1146 Now or later
二分时间+2sat 边加多了....RE了好久...... Now or later Time Limit: 9000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu [Submit]   [Go Back]   [Status]   D...
分类:其他好文   时间:2014-05-02 23:59:02    阅读次数:712
UVA之409 - Excuses, Excuses!
Excuses, Excuses!  Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time requi...
分类:其他好文   时间:2014-05-02 23:54:43    阅读次数:474
UVA之537 - Artificial Intelligence?
Artificial Intelligence?  Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and underst...
分类:其他好文   时间:2014-05-02 23:39:35    阅读次数:485
UVA之10878 - Decode the tape
【题目】 Your boss has just unearthed a roll of old computer tapes. The tapes have holes in them and might contain some sort of useful information. It falls to you to figure out what is written on them...
分类:其他好文   时间:2014-05-02 23:35:16    阅读次数:526
UVA 10453 Make Palindrome(区间简单DP)
题意:给出一串字符串,求出需要至少插入多少个字符使得这个字符串变成会问粗...
分类:其他好文   时间:2014-05-02 23:26:33    阅读次数:486
UVA之10361 - Automatic Poetry
Problem I Automatic Poetry Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB   “Oh God”, Lara Croft exclaims, “it’s one of these dumb rid...
分类:其他好文   时间:2014-05-02 22:51:52    阅读次数:352
UVA 10951 Polynomial GCD 多项式欧几里德求最大公共多项式
今天作比赛遇上了HDU3892,都分析出来怎么做了,可惜不会求多项式的最大公共多项式,当时写了半天,案例也没有跑出来,赛后搜了一下题解,发现有大神做出了,而且是有模版的,不过又搜了一下关于这方面的题目,很少,只发现了这一道,所以先做一下这一道吧 题意,给你两个多项式,求他们的最大公共多项式,然后输出即可,无齿的套用了别人的模版,呵呵! #include #include #in...
分类:其他好文   时间:2014-05-02 21:49:00    阅读次数:350
uva 12299 线段树 点相关的操作模板
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=502&page=show_problem&problem=3720 唯一值得一说的就是shift,变成循环就行 这道题主要是测试下我做的算法模板 先贴模板 /**********************************...
分类:其他好文   时间:2014-05-02 21:29:31    阅读次数:345
UVA 11578 - Situp Benches(dp)
题目链接:11578 - Situp Benches 题意:健♂身♂房有两个仰卧起坐坐垫,每次调整角度要花费10元/10度,每次使用要花费15,现在给定n个人的时间顺序,和所希望的角度,求最少花费 思路:dp,dp[i][j][k]表示第i个人,一个角度为j,另一个为k的最小花费,一个人用和两个人用的情况分开讨论,然后记录dp状态转移路径。这个输出路径让这题变得麻烦了不少。不过机智的我还是把它...
分类:其他好文   时间:2014-05-02 07:09:28    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!