码迷,mamicode.com
首页 >  
搜索关键字:roman to integer    ( 15811个结果
spoj cot: Count on a tree 主席树
10628. Count on a treeProblem code: COTYou are given a tree with N nodes.The tree nodes are numbered from 1 to N.Each node has an integer weight.We wi...
分类:其他好文   时间:2014-07-27 10:31:42    阅读次数:304
[LeetCode] Spiral Matrix II
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example, Given n = 3,You should return the followin...
分类:其他好文   时间:2014-07-27 10:21:02    阅读次数:219
XTU 二分图和网络流 练习题 C. 方格取数(1)
C. 方格取数(1)Time Limit: 5000msMemory Limit: 32768KB64-bit integer IO format:%I64d Java class name:Main给你一个n*n的格子的棋盘,每个格子里面有一个非负数。从中取出若干个数,使得任意的两个数所在的格子没...
分类:其他好文   时间:2014-07-26 16:57:11    阅读次数:361
Evaluate Reverse Polish Notation leetcode java
题目:Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or anothe....
分类:编程语言   时间:2014-07-26 14:14:35    阅读次数:225
LeetCode:Reverse Integer
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321 1 class Solution { 2 public: 3 int reverse(int x){ 4 ...
分类:其他好文   时间:2014-07-26 13:54:24    阅读次数:206
最大公约数的最小倍数 【杭电-2504】 附题
/* Time Limit : 1000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 148   Accepted Submission(s) : 19 Font: Times New Roman | Verdana | Georgia Font Size: ←...
分类:其他好文   时间:2014-07-26 02:50:46    阅读次数:252
HDU 1518 Square
Sticks Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other) Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description George took sticks o...
分类:其他好文   时间:2014-07-26 02:37:36    阅读次数:179
HDU 1518 Square 搜索
Square Time Limit : 10000/5000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 11   Accepted Submission(s) : 5 Font: Times New Roman | Verdana | Georgia Font Siz...
分类:其他好文   时间:2014-07-26 02:27:46    阅读次数:252
^ 符号的特殊用法
begin ShowMessage(IntToStr(Byte(^A))); {1} ShowMessage(IntToStr(Integer(^b))); {2} ShowMessage(IntToStr(Integer(^^))); {30} ShowMessage(IntToStr(Int.....
分类:其他好文   时间:2014-07-26 01:39:36    阅读次数:213
xtu字符串 B. Power Strings
B. Power StringsTime Limit: 3000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainGiven two strings a and b we define a*b to be...
分类:其他好文   时间:2014-07-26 01:25:26    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!