码迷,mamicode.com
首页 >  
搜索关键字:ural 1762    ( 1009个结果
URAL 6089 Nine
水题,找误差范围之内9最多的时间,如果有多个,选择误差最小的一个,如果还有多个,选择字典序最小的一个。同一个时间可以有不同的表示方法,例如60:15也可以表示为59:75。#include#include#include#includeusing namespace std;int main(){ ...
分类:其他好文   时间:2015-04-22 18:00:56    阅读次数:91
URAL - 1823 Ideal Gas(审题)
Ideal Gas Time Limit: 500MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status Description Many of you know the universal method of solving simple p...
分类:其他好文   时间:2015-04-22 09:36:59    阅读次数:157
URAL 1525 Path
#include#include#include#includeusing namespace std;const int maxn = 100000 + 10;char s[maxn];int main(){ long long int n, m, k; while (~scanf("...
分类:其他好文   时间:2015-04-22 09:22:10    阅读次数:134
URAL - 1828 Approximation by a Progression(最小二乘法)
Approximation by a Progression Time Limit: 500MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status Description Your are given a sequence of integer...
分类:移动开发   时间:2015-04-21 09:45:54    阅读次数:196
URAL - 1792 Hamming Code(枚举)
Hamming Code Time Limit: 1000MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status Description Let us consider four disks intersecting as in the fig...
分类:其他好文   时间:2015-04-21 09:45:52    阅读次数:159
URAL - 1826 Minefield
Minefield Time Limit: 500MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status Description To fulfill an assignment, a reconnaissance group of n peo...
分类:其他好文   时间:2015-04-21 09:45:08    阅读次数:129
URAL - 1794 Masterpieces of World Architecture(“投票法”)
Masterpieces of World Architecture Time Limit: 1000MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status Description Maria Ivanovna informed all of...
分类:其他好文   时间:2015-04-21 09:44:37    阅读次数:105
URAL - 1793 Tray 2(几何题)
Tray 2 Time Limit: 1000MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status Description One of the organizers of the Ural Regional School Programmi...
分类:其他好文   时间:2015-04-21 09:44:26    阅读次数:163
URAL - 1796 Amusement Park(水)
Amusement Park Time Limit: 1000MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u Submit Status#include using namespace std; int a[10]; void init() { a[0] = 10; a[1] =...
分类:其他好文   时间:2015-04-21 09:44:15    阅读次数:130
URAL 1827 Indigenous Wars(排序、乱搞)
题意:给一个长度为n数组{a[i]}。有m个操作Ti,Si,Li表示找以Ti值结束,以Si值开始,长度为Li的连续子串。找到后,将区间的答案值设为1。一开始答案值全部为0。最后输出n个答案值。好久没打题了算法:排序,乱搞。主要是要考虑到排序的时候,len大的放前边,这样可以break省掉不少时间。最...
分类:编程语言   时间:2015-04-20 16:25:14    阅读次数:170
1009条   上一页 1 ... 65 66 67 68 69 ... 101 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!