http://acm.hdu.edu.cn/showproblem.php?pid=2022二B了,没读题直接错了两次。。。。郁闷 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using name...
分类:
其他好文 时间:
2015-06-05 21:05:36
阅读次数:
110
第四届河南省大学生程序设计竞赛 第一题题目描述Dr.Kong设计了一个聪明的机器人卡多,卡多会对电子表格中的单元格坐标快速计算出来。单元格的行坐标是由数字编号的数字序号,而列坐标使用字母序号。观察字母序号,发现第1列到第26列的字母序号分别为A,B,…,Z,接着,第27列序号为AA,第28列为AB,...
分类:
其他好文 时间:
2015-06-04 22:15:24
阅读次数:
173
class Water{
//水塘类
static Object water=new Object();
static int total=6; //假设水塘总共可以含水量为6
static int mqsl=3; //假设水塘中拥有含水量为3
static int ps=0; //假设水塘目前含水量为0
}
class ThreadA extends Thread{
...
分类:
编程语言 时间:
2015-06-03 21:41:37
阅读次数:
139
#include #include #include #include #include using namespace std;int n;string a,b;string ans;stacks;queueq;int main(){ while(cin>>n>>a>>b){ int index....
分类:
其他好文 时间:
2015-06-03 19:35:08
阅读次数:
88
这道题类似Java的大数。#include #include using namespace std;string format(string str){ bool zheng=true; int ppos=str.find('.'); int len=str.length(); string s1...
分类:
其他好文 时间:
2015-06-03 15:09:05
阅读次数:
134
题目在这里:https://leetcode.com/problems/trapping-rain-water/[标签] Array; Stack; Two Pointers这个题我感觉很难,我自己是完全不会。下面贴的是别人想到的好方法,自己适当做了些简单调整。我觉得,这个解法非常巧妙的使用了双向的...
分类:
移动开发 时间:
2015-06-02 09:15:32
阅读次数:
149
题目:Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjace...
分类:
编程语言 时间:
2015-06-01 11:15:07
阅读次数:
125
地址为:http://daneden.github.io/animate.css/源码地址为:https://github.com/daneden/animate.css简单的使用方法:Animate.cssJust-add-water CSS animationanimate.cssis a bu...
分类:
Web程序 时间:
2015-05-31 12:14:55
阅读次数:
1198
Time limit(ms): 1000 Memory limit(kb): 65535The cows have a line of 20 water bowls from which they drink. The bowls can be either right-side-up (pr...
分类:
其他好文 时间:
2015-05-30 22:22:46
阅读次数:
184
题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints ...
分类:
其他好文 时间:
2015-05-30 16:37:24
阅读次数:
78