Piggy-Bank
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 7626
Accepted: 3665
Description
Before ACM can do anything, a budget must be prepared and the ne...
分类:
其他好文 时间:
2014-06-16 11:48:41
阅读次数:
271
【Basics】1、You can declare multiple constants or multiple variables on a single line, separated by commas: 2、You can use almost any character you like....
分类:
其他好文 时间:
2014-06-15 22:01:43
阅读次数:
330
#include
#include
using std::cout;
using std::endl;
using std::cin;
using std::string;
int main(void){
string str1="We can insert a string";
string str2="a str into ";
//在字符串指定位置...
分类:
编程语言 时间:
2014-06-15 19:29:30
阅读次数:
251
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the...
分类:
其他好文 时间:
2014-06-15 19:28:54
阅读次数:
246
Description:You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways c...
分类:
其他好文 时间:
2014-06-15 06:37:02
阅读次数:
200
题目描述Bruce Force's keyboard is broken, only a few keys are still working. Bruce has figured out he can still type texts by switching the keyboard layou...
分类:
其他好文 时间:
2014-06-14 21:00:09
阅读次数:
444
指定用户名密码启动管理服务器You can start and stop Oracle WebLogic Server Administration Servers using the WLST command line or a script. When you start or stop the...
分类:
数据库 时间:
2014-06-14 08:24:43
阅读次数:
368
题目
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
方法
将num1与0-9相乘的结果存...
分类:
其他好文 时间:
2014-06-14 06:08:30
阅读次数:
229
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-06-13 20:36:56
阅读次数:
280
Linked List Cycle:Given a linked list, determine if
it has a cycle in it.Follow up:Can you solve it without using extra
space?解题分析:大致思想就是设置两个指针,一个指针每次...
分类:
其他好文 时间:
2014-06-13 14:41:54
阅读次数:
238