首页 > 其他
hdoj Tree
Tree Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1846    Accepted Submission(s): 540 Problem Description There are N (2<=N<=600) ...
分类:其他   时间:2015-03-31 09:04:52    收藏:0  评论:0  赞:0  阅读:93
hdoj 敌兵布阵
敌兵布阵 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 51135    Accepted Submission(s): 21410 Problem Description C国的死对头A国这段时间正在进行军...
分类:其他   时间:2015-03-31 09:04:42    收藏:0  评论:0  赞:0  阅读:269
练习小程序 整数转16进制
整数转16进制 小例子...
分类:其他   时间:2015-03-31 09:04:32    收藏:0  评论:0  赞:0  阅读:287
[LeetCode 51&52] N-Queens I & II (N皇后问题)
题目链接:n-queens import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no t...
分类:其他   时间:2015-03-31 09:04:22    收藏:0  评论:0  赞:0  阅读:1479
Servlet介绍(二)
——————————接上文Servlet介绍(一)——————这里着重来说一下服务器获取请求参数的几种方法,首先是通过getParameter方法获取请求参数的值,第二种通过getParameterNames获取所有请求参数的名称,返回一个Enumeration 类型,然后循环迭代取值,第三种是通过getParameterValues获取同一参数名的值,该方法返回一个String数组,第四种,也是最...
分类:其他   时间:2015-03-31 09:04:02    收藏:0  评论:0  赞:0  阅读:140
UVA - 10700 - Camel trading (简单贪心)
UVA - 10700 Camel trading Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Description Problem E - Camel trading Time L...
分类:其他   时间:2015-03-31 09:03:52    收藏:0  评论:0  赞:0  阅读:113
杭电 HDU 1202 The calculation of GPA
The calculation of GPA Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 21897    Accepted Submission(s): 5028 Problem Description 每学期的期末...
分类:其他   时间:2015-03-31 09:03:42    收藏:0  评论:0  赞:0  阅读:250
Sicily 1063. Who's the Boss
1063. Who's the Boss Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description Several surveys indicate that the taller you are, the higher you can climb the corporate ladder. At T...
分类:其他   时间:2015-03-31 09:03:12    收藏:0  评论:0  赞:0  阅读:164
Sicily 1050. Numbers & Letters
1050. Numbers & Letters Constraints Time Limit: 3 secs, Memory Limit: 32 MB Description In the early 80’s, a popular TV show on Dutch television was ‘Cijfers en Letters’ (Numbers and Let...
分类:其他   时间:2015-03-31 09:03:05    收藏:0  评论:0  赞:0  阅读:120
Sicily 1317. Sudoku
1317. Sudoku Constraints Time Limit: 10 secs, Memory Limit: 32 MB Description Sudoku is a placement puzzle. The goal is to enter a symbol in each cell of a grid, most frequently a 9 ...
分类:其他   时间:2015-03-31 09:02:52    收藏:0  评论:0  赞:0  阅读:193
hdoj-1875-畅通工程再续
http://acm.hdu.edu.cn/showproblem.php?pid=1875 我只想问这样为什么一直 wrong ,求各路大神指教!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #include #include #include #include using namespace std; int c,k,...
分类:其他   时间:2015-03-31 09:02:42    收藏:0  评论:0  赞:0  阅读:80
Sicily 1162. Sudoku
1162. Sudoku Constraints Time Limit: 1 secs, Memory Limit: 32 MB , Special Judge Description Sudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 sm...
分类:其他   时间:2015-03-31 09:02:32    收藏:0  评论:0  赞:0  阅读:153
Sicily 1024. Magic Island
1024. Magic Island Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description There are N cities and N-1 roads in Magic-Island. You can go from one city to any other. One road only ...
分类:其他   时间:2015-03-31 09:02:22    收藏:0  评论:0  赞:0  阅读:132
Sicily 1003. Hit or Miss
1003. Hit or Miss Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description One very simple type of solitaire game known as "Hit or Miss" (also known as "Frustration," "Harvest...
分类:其他   时间:2015-03-31 09:02:12    收藏:0  评论:0  赞:0  阅读:142
Sicily 1001. Alphacode
1001. AlphacodeConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionAlice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: "Let's jus...
分类:其他   时间:2015-03-31 09:02:02    收藏:0  评论:0  赞:0  阅读:106
Sicily 1779. Fibonacci Sequence Multiplication
1779. Fibonacci Sequence Multiplication Constraints Time Limit: 1 secs, Memory Limit: 63.9990234375 MB Description Maybe all of you are familiar with Fibonacci sequence. Now you are ...
分类:其他   时间:2015-03-31 09:01:52    收藏:0  评论:0  赞:0  阅读:244
Sicily 1028. Hanoi Tower Sequence
1028. Hanoi Tower Sequence Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description Hanoi Tower is a famous game invented by the French mathematician Edourard Lucas in 1883. W...
分类:其他   时间:2015-03-31 09:01:42    收藏:0  评论:0  赞:0  阅读:509
next_permutation & prev_permutation
#include #include #include using namespace std; //next_permutation()全排列的下一个 //prev_permutation()全排列的前一个,括号中都为数组的起始结束位置的指针 void print_int(int a[], int length) {//这个用来输出数组 for (int i = 0; i < l...
分类:其他   时间:2015-03-31 09:01:32    收藏:0  评论:0  赞:0  阅读:246
用vector或者set删除一亿个数里的奇数
如何用vector或者set删除一亿个数里的奇数 先说说VECTOR怎么删除指定的元素,因为VECTOR有迭代器失效的问题,一般人都会写这么样的一个函数 for(vector::itertor it=a.begin();it!=a.end();) { if(a[i]%2==1) it=a.erase(it); else it++; } 这样的函数如果数据量很小的话...
分类:其他   时间:2015-03-31 09:01:12    收藏:0  评论:0  赞:0  阅读:284
Adding a struct into an array(stackoverflow)
Question: So lets say I have a struct like this: struct example_structure { int thing_one; int thing_two; }; I also have an empty array which I am trying to fill with these structs. I am tryin...
分类:其他   时间:2015-03-31 09:01:02    收藏:0  评论:0  赞:0  阅读:208
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!