码迷,mamicode.com
首页 >  
搜索关键字:std    ( 41627个结果
spring解决"log4j:WARN No appenders could be found for logger"
1在src下面新建file名为log4j.properties内容如下:# Configure logging for testing: optionally with log filelog4j.rootLogger=WARN, stdout# log4j.rootLogger=WARN, std...
分类:移动开发   时间:2014-06-27 17:31:34    阅读次数:217
【2012】数组(3)
操作系统任务调度问题。操作系统任务分为系统任务和用户任务两种。其中,系统任务的优先级 = 50且 #includeusing namespace std;void scheduler(int task[], int n, int system_task[], int user_task[]){ v....
分类:其他好文   时间:2014-06-27 15:51:13    阅读次数:183
数据结构与算法一
题目一:求1!+2!+…..+n! 的和的后6位,(注意n的范围)#include using namespace std;const int MAX = 1000000;int getResu(int n){ int sum=0; int temp= 1; for(int i=1; i >n) {...
分类:其他好文   时间:2014-06-27 13:47:37    阅读次数:161
C++基本之--静态成员函数和静态成员变量
#include using namespace std; class Internet { public: Internet(char *name,char *address) { strcpy(Internet::name,name); ...
分类:编程语言   时间:2014-06-27 11:34:21    阅读次数:133
【USACO 3.2.2】二进制数01串
【描述】考虑排好序的N(N 2 #include 3 #include 4 #include 5 #include 6 const int maxn=32+5; 7 using namespace std; 8 long long c[maxn][maxn],n,o=0; 9 long lo...
分类:其他好文   时间:2014-06-27 11:27:58    阅读次数:145
C++链表
#include #include using namespace std;class Student{public: Student (char *name); ~Student();public: char name[30]; Student *next; stat...
分类:编程语言   时间:2014-06-27 11:03:00    阅读次数:199
STL对比解说——关联容器
STL对比解说——关联容器1. 概述 关联容器会根据某种准则自动排序容器中元素。operator namespace std { template , //默认使用小于,可以自己提供排序准则 typename Allocator = allocator > ...
分类:其他好文   时间:2014-06-27 11:00:22    阅读次数:235
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
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
迷上了代码!