码迷,mamicode.com
首页 >  
搜索关键字:uva 11361    ( 8022个结果
【UVa】1600 Patrol Robot(dfs)
题目 题目     分析 bfs可以搞,但是我还是喜欢dfs,要记忆化不然会T     代码 cpp include include include using namespace std; const int INF=1=1&&x=1&&y (%d,%d)\ ...
分类:其他好文   时间:2017-12-09 00:03:48    阅读次数:167
【UVa】439 Knight Moves(dfs)
题目 题目     分析 没有估价函数的IDA。。。。。。     代码 cpp include include include using namespace std; int q,dx[10]={2,2, 2, 2,1, 1,1, 1},dy[10]={1 ...
分类:其他好文   时间:2017-12-09 00:01:12    阅读次数:131
uva1589
/*problem:当前没有考虑到列,只考虑到了行还有吃子的问题需要一并想一想这个题AC真的花了好久。。。。。。。总而言之:需要多跑几个样例吧。uva依赖百度没用,以上!因为这个题,差点放弃all,嗯 再坚持坚持吧! AC好像会在最后变成全部的动力!*/#include<stdio.h>#inclu ...
分类:其他好文   时间:2017-12-08 23:04:05    阅读次数:188
UVAL7902 2016ECfinal F
题意: 给出n个串,求一个最短的第一个串的子串使它不在其他的n-1个串中出现,若有多个求字典序最小的。 Limits: ? 1 ≤ T ≤ 42. ? 2 ≤ N ≤ 50000. ? N ≤ S1 + S2 + · · · + SN ≤ 250000. ? the sum of Si in all ...
分类:其他好文   时间:2017-12-04 14:09:14    阅读次数:187
【UVA】536 Tree Recovery(树型结构基础)
题目 题目     分析 莫名A了     代码 ...
分类:其他好文   时间:2017-12-03 18:57:05    阅读次数:130
Benefit UVA - 11889
Benefit UVA - 11889 题意: 给出a和c, 让求最小的b使得lcm(a, b) == c. 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int gcd(int a, int b){ 5 return b == 0 ? ...
分类:其他好文   时间:2017-12-02 19:11:21    阅读次数:141
【Uva623】500!(高精)
Description 求N! $N \leq 1000$ Sample Input 10 30 50 100 Sample Output 10! 3628800 30! 265252859812191058636308480000000 50! 30414093201713378043612608 ...
分类:其他好文   时间:2017-12-02 12:52:50    阅读次数:108
【例题 7-3 UVA - 10976】Fractions Again?!
【链接】 "我是链接,点我呀:)" 【题意】 在这里输入题意 【题解】 x =y = $\frac{1}{x} $\frac{1}{x}=\frac{1}{k} \frac{1}{y}$ 结合两个式子可以得到 y 【代码】 cpp / 1.Shoud it use long long ? 2.Hav ...
分类:其他好文   时间:2017-12-02 11:16:36    阅读次数:129
解决IE浏览器下载文件,文件名乱码问题(浏览器历史介绍)
这个问题,CS开发模式总会遇到过。在此详细记录,以作技能储备。先说段历史故事:史前世界:1945~1994年 有一位美国科学家叫Vannevar Bush3在1945年虚构出来了一台名为Memex的桌面设备作为Web理念最早期的原型。这个Memex呢,用于在微缩胶卷上创建和标注跨文档链接,并按照这些... ...
分类:其他好文   时间:2017-11-30 20:13:12    阅读次数:1590
材质渐变出现及UV移动
using UnityEngine;using System.Collections; public class ScrollBehaviour : MonoBehaviour{ public int materialIndex; public string textureName = "_Main ...
分类:移动开发   时间:2017-11-29 19:40:39    阅读次数:215
8022条   上一页 1 ... 95 96 97 98 99 ... 803 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!