码迷,mamicode.com
首页 >  
搜索关键字:class    ( 183544个结果
java IO-流
Java 的10 流是实现输入/输出的基础,它可以方便地实现数据的输入/输出操作, Java 中把不同的输入/输出源(键盘、文件、网络连接等)抽象表述为"流" (stream) ,通过流的方式允许Java 程序使用相同的方式来访问不同的输入/输出源。stream 是从起源(source) 到接收(s...
分类:编程语言   时间:2014-06-27 10:54:58    阅读次数:414
poj3311(Hie with the Pie)状压dp
题目链接:http://poj.org/problem?id=3311 解法:标准的状压dp类型,先floyd获得两两之间最短距离。然后dp[i][j]表示剩下集合i没走,已经走到j的最短距离; 代码:/****************************************************** * @author:xiefubao ******************...
分类:其他好文   时间:2014-06-27 10:11:29    阅读次数:282
poj 1085 Triangle War (状压+记忆化搜索)
Triangle War Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 2685   Accepted: 1061 Description Triangle War is a two-player game played on the following tria...
分类:其他好文   时间:2014-06-27 09:34:45    阅读次数:286
iOS开发- 自动消失的弹出框
- (void)timerFireMethod:(NSTimer*)theTimer//弹出框 { UIAlertView *promptAlert = (UIAlertView*)[theTimer userInfo]; [promptAlert dismissWithClickedButtonIndex:0 animated:NO]; promptAlert =NULL...
分类:移动开发   时间:2014-06-27 09:21:00    阅读次数:219
Codeforces 12D Ball 树状数组模拟3个元素的排序
题目链接:点击打开链接 #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define N 500005 #define ll int ll n; ll c[N], maxn; inline ll...
分类:其他好文   时间:2014-06-27 09:06:04    阅读次数:183
hdu2159 Fate 二维背包
#include #include #include #include #include #include #include #include #define inf 0x3f3f3f3f #define ll __int64 using namespace std; int n,v,k,s,dp[110][110],w[110],c[110]; int main() {...
分类:其他好文   时间:2014-06-27 08:15:44    阅读次数:171
hdu2844 Coins 多重背包
#include #include #include #include #include #include #include #include #define inf 0x3f3f3f3f #define ll __int64 using namespace std; int n,m,dp[100010],a[100010],c[1010]; void pack01(int c...
分类:其他好文   时间:2014-06-27 08:07:53    阅读次数:157
UVA11090 Going in Cycle!! (二分+SPFA判断有无负权)
I I U P C 2 0 0 6 Problem G: Going in Cycle!! Input: standard input Output: standard output   You are given a weighted directed graph with n vertices and...
分类:其他好文   时间:2014-06-27 08:07:16    阅读次数:183
spring异常记录-----java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
今天在练习如何SSH中进行单元测试的时候出现下列异常: SEVERE: Exception starting filter Struts2 java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils at com.opensymphony.xwork2.config.providers.XmlConfigur...
分类:编程语言   时间:2014-06-27 08:06:35    阅读次数:171
CodeForces 7D Palindrome Degree 字符串hash
题目链接:点击打开链接 #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define N 5001000 #define mod 1000000007 #define he...
分类:其他好文   时间:2014-06-27 07:35:50    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!