DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices.
— It is a m...
分类:
其他好文 时间:
2015-03-10 19:29:50
阅读次数:
227
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obtained by takin...
分类:
其他好文 时间:
2015-03-07 17:11:22
阅读次数:
124
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2015-03-07 16:58:09
阅读次数:
131
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit string...
分类:
其他好文 时间:
2015-03-07 01:02:15
阅读次数:
210
题目描述:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the tel...
分类:
其他好文 时间:
2015-03-05 16:43:43
阅读次数:
156
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135...
分类:
其他好文 时间:
2015-03-05 14:38:01
阅读次数:
206
520E - Pluses everywhere/521C
- Pluses everywhere
Idea: Endagorion
Preparation: gchebanov, DPR-pavlin
Consider some way of placing all the pluses, and a single digit di (digits
in the str...
分类:
其他好文 时间:
2015-03-05 00:18:32
阅读次数:
318
求某数的某次幂最后一位,暴力找规律后取模。#include#includeint t,x,y,s;int a[20];int main(){ scanf("%d",&t); while(t--){ scanf("%d%d",&x,&y); s=2;x%=10;...
分类:
其他好文 时间:
2015-03-04 22:30:22
阅读次数:
123
Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ...
分类:
其他好文 时间:
2015-03-04 16:17:59
阅读次数:
141
Bicycle Codes
Time limit: 0.5 second
Memory limit: 64 MB
Den has two four-digit combination locks for protecting his bicycle from thieves. Every evening he arms the bicycle antitheft alar...
分类:
其他好文 时间:
2015-03-04 12:57:36
阅读次数:
144