#include #include #include using namespace std; /* 求最小公倍数 */ vector Decomposition(int digit) { int actor = digit; vector arr; for (int i = 2;i Get(vec... ...
分类:
其他好文 时间:
2018-08-30 00:08:43
阅读次数:
157
计算机发展史。。。。 计算机(computer)俗称电脑,是现代一种用于高速计算的电子计算机器,可以进行数值计算,又可以进行逻辑计算,还具有存储记忆功能。是能够按照程序运行,自动、高速处理海量数据的现代化智能电子设备。 在古时候,人们最早使用的计算工具可能是手指,英文单词“digit”既有“数字”的 ...
分类:
其他好文 时间:
2018-08-29 10:52:06
阅读次数:
248
1. is palindrome solution 1: check to reverse the digit, if they are the same number https://www.geeksforgeeks.org/write-a-c-program-to-reverse-digits ...
分类:
其他好文 时间:
2018-08-26 11:52:21
阅读次数:
132
Count Numbers 题目描述 Now Alice wants to sum up all integers whose digit sum is exactly ab .However we all know the number of this kind of integers are u ...
分类:
其他好文 时间:
2018-08-25 21:48:53
阅读次数:
256
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 ...
分类:
其他好文 时间:
2018-08-25 00:34:05
阅读次数:
233
题目描述 In computer science, a character is a letter, a digit, a punctuation mark or some other similar symbol. Since computers can only process numbers, ...
分类:
其他好文 时间:
2018-08-19 20:58:35
阅读次数:
172
Find the leftmost digit that occurs in a given string. Example For inputString = "var_1__Int", the output should befirstDigit(inputString) = '1'; For ...
分类:
其他好文 时间:
2018-08-16 23:48:29
阅读次数:
296
部分题解:B:1360: Good Serial Inc.(不知道是什么类型的题)D:1363: Count 101 (经典数位dp)好像还可以找规律,斐波那契…..F:太水了没有写G:1347: Last Digit (周期函数)H:1349: Taking Pebbles (博弈 打表找规律)I... ...
分类:
其他好文 时间:
2018-08-16 20:04:17
阅读次数:
158
Correct variable names consist only of English letters, digits and underscores and they can't start with a digit. Check if the given string is a corre ...
分类:
其他好文 时间:
2018-08-13 19:43:13
阅读次数:
126
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat ...
分类:
其他好文 时间:
2018-08-09 23:12:00
阅读次数:
135