码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
英语---完形单词
10 少见词: designate 指定 severity 严重程度 symptom 症状 panic 恐慌 vaccine 疫苗 pregnant 怀孕的 feasible 可行的 prevalent 流行的 普遍的 agony 痛苦 近义词: digits (从0到9的任何一个)数字,数位 nu ...
分类:其他好文   时间:2019-10-07 12:58:01    阅读次数:119
【leetcode】1215.Stepping Numbers
题目如下: A Stepping Number is an integer such that all of its adjacent digits have an absolute difference of exactly 1. For example, 321 is a Stepping Nu ...
分类:其他好文   时间:2019-10-07 09:33:56    阅读次数:80
Codeforces Round #589 (Div. 2) A. Distinct Digits
链接: https://codeforces.com/contest/1228/problem/A 题意: You have two integers l and r. Find an integer x which satisfies the conditions below: l≤x≤r. Al ...
分类:其他好文   时间:2019-10-03 14:19:24    阅读次数:124
【Leetcode】2. Add Two Numbers 两数相加
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2019-10-02 19:08:34    阅读次数:109
Codeforces Round #589 (Div. 2) (e、f没写)
https://codeforces.com/contest/1228/problem/A A. Distinct Digits 超级简单嘻嘻,给你一个l和r然后寻找一个数,这个数要满足的条件是它的每一位的数字不相同,找出满足要求的最小的那个数输出,没有找到就输出-1; 1 #include<bit ...
分类:其他好文   时间:2019-10-02 18:47:43    阅读次数:144
随机产生7位数密码
#1、随机从所有的字符随机取7位 #2、再分别和所有大小写字母、数字、特殊字母取交集 #1、第二种思路 # 从大写字母 upper_Case ='A-Z' lower_Case = 'a-z' digits='0-9' puc='23$@$@$' import random import strin... ...
分类:其他好文   时间:2019-10-02 10:38:21    阅读次数:85
CF 1215 D Ticket Game (博弈)
链接:https://codeforces.com/problemset/problem/1215/D Monocarp and Bicarp live in Berland, where every bus ticket consists of nn digits (nn is an even n ...
分类:其他好文   时间:2019-10-01 15:53:49    阅读次数:83
Codeforces-Round#589 Div2
A题 Distinct Digits 题解: 暴力水题 1 #include<bits/stdc++.h> 2 using namespace std; 3 int f[10]; 4 bool judge(int x) 5 { 6 memset(f,0,sizeof(f)); 7 while(x){ ...
分类:其他好文   时间:2019-09-30 23:59:45    阅读次数:193
LeetCode_66. Plus One
66. Plus One Easy Easy Easy Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such ...
分类:其他好文   时间:2019-09-24 17:35:15    阅读次数:82
PAT 甲级 1060 Are They Equal (25 分)(科学计数法,接连做了2天,考虑要全面,坑点多,真麻烦)
1060 Are They Equal (25 分) 1060 Are They Equal (25 分) 1060 Are They Equal (25 分) If a machine can save only 3 significant digits, the float numbers 12 ...
分类:其他好文   时间:2019-09-23 14:56:25    阅读次数:87
2164条   上一页 1 ... 16 17 18 19 20 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!