Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
罗马数字规则:参考wiki:http://zh.wikipedia.org/wiki/%E7%BD%97%E9%A9%AC%E6%95%B0%E5%AD%97
1,...
分类:
其他好文 时间:
2015-01-30 09:19:22
阅读次数:
196
Good Luck in CET-4 Everybody!
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5815 Accepted Submission(s): 3759
Problem Description...
分类:
其他好文 时间:
2015-01-30 09:05:09
阅读次数:
172
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input st...
分类:
其他好文 时间:
2015-01-29 14:39:45
阅读次数:
107
题目链接:http://poj.org/problem?id=3268
求牛参加聚会的往返最长的路径是多少。往返的时候翻转矩阵,再计算一次,两次求和。
#include
#include
#include
#include
#include
using namespace std;
const int MAXV = 4010;
const int inf = 10000000;
...
分类:
其他好文 时间:
2015-01-29 12:51:51
阅读次数:
209
Implement regular expression matching with support for ‘.’ and ‘*’.
‘.’ Matches any single character.
‘*’ Matches zero or more of the preceding element.
The matching should cover the...
分类:
其他好文 时间:
2015-01-29 12:43:39
阅读次数:
167