码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
TZOJ 4302 D1-Digit Divisibility DFS
Using each of the digits 1, 2, 3,...,D1 exactly once to form D1 digit numbers, how many are divisible by D2. 输入 The input data will contain multiple c ...
分类:其他好文   时间:2019-09-22 15:24:53    阅读次数:98
leetcode 7. Reverse Integer
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which cou ...
分类:其他好文   时间:2019-09-19 23:36:49    阅读次数:95
306. Additive Number
Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:其他好文   时间:2019-09-19 14:22:15    阅读次数:86
17. Letter Combinations of a Phone Number
17. Letter Combinations of a Phone Number Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number ...
分类:其他好文   时间:2019-09-18 09:17:11    阅读次数:85
Digit sum (第 44 届 ACM/ICPC 亚洲区域赛(上海)网络赛)进制预处理水题
131072K A digit sum S_b(n)Sb?(n) is a sum of the base-bb digits of nn. Such as S_{10}(233) = 2 + 3 + 3 = 8 S10?(233)=2+3+3=8, S_{2}(8)=1 + 0 + 0 = 1S2 ...
分类:其他好文   时间:2019-09-16 21:15:28    阅读次数:113
Digit sum-----The Preliminary Contest for ICPC Asia Shanghai 2019
A digit sum S_b(n)Sb?(n) is a sum of the base-bb digits of nn. Such as S_{10}(233) = 2 + 3 + 3 = 8S10?(233)=2+3+3=8, S_{2}(8)=1 + 0 + 0 = 1S2?(8)=1+0+ ...
分类:其他好文   时间:2019-09-16 19:23:39    阅读次数:102
codeforces 915 C(思维+模拟)
C. Permute Digits time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given two posit ...
分类:其他好文   时间:2019-09-16 10:03:05    阅读次数:109
Maximum XOR Sum 系列问题
给定 $n$ 个两两不同的正整数 $a_1, a_2, \dots, a_n$,$a_i Let the length of a number be the number of digits needed to write it out in binary, excluding any leadin ...
分类:其他好文   时间:2019-09-16 09:31:57    阅读次数:74
codeforces 1209/C Paint the Digits 观察
题意 给你一个序列 问你能否选出两个序列 然后拼接 是他们成为有序的序列 输出方案 解: 说下我的思路 开始我吧题目看错了以为求的是单调递减的。。。 这题考的是贪心加观察 后来才发现 然后我又试了lis 树状数组 都不行 最后我发现对于一个序列 最终状态一定是有序的 那么我们不妨对于这个序列首先进行 ...
分类:其他好文   时间:2019-09-16 09:18:18    阅读次数:60
Leetcode 17. Letter Combinations of a Phone Number(水)
17. Letter Combinations of a Phone Number Medium Medium Given a string containing digits from 2-9 inclusive, return all possible letter combinations t ...
分类:其他好文   时间:2019-09-14 11:24:10    阅读次数:108
2164条   上一页 1 ... 17 18 19 20 21 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!