链接: https://codeforces.com/contest/1245/problem/A 题意: Consider the set of all nonnegative integers: 0,1,2,…. Given two integers a and b (1≤a,b≤104). W ...
分类:
其他好文 时间:
2019-11-05 13:49:03
阅读次数:
110
链接: https://vjudge.net/problem/POJ 2689 题意: The branch of mathematics called number theory is about properties of numbers. One of the areas that has c ...
分类:
其他好文 时间:
2019-11-03 23:36:52
阅读次数:
94
题目描述: Given a collection of candidate numbers ( C ) and a target number ( T ), find all unique combinations in C where the candidate numbers sums to T ...
分类:
其他好文 时间:
2019-11-03 01:30:45
阅读次数:
74
数组对于每一门编程语言来说都是重要的数据结构之一,当然不同语言对数组的实现及处理也不尽相同。 Java 语言中提供的数组是用来存储固定大小的同类型元素。 你可以声明一个数组变量,如 numbers[100] 来代替直接声明 100 个独立变量 number0,number1,....,number9 ...
分类:
编程语言 时间:
2019-11-03 01:08:48
阅读次数:
122
1.1 MySQL用户管理 1.1.1 用户的定义 1.1.2 用户的作用 1、用户登录 2、用于管理数据库及数据 命令: grant 权限 on 权限范围 to 用户 identified by '密码' 权限 对数据库的读、写等操作 (insert update、select、delete、dr ...
分类:
数据库 时间:
2019-11-02 17:58:33
阅读次数:
134
题目传送门 题意 这道题被某大佬改编拿来出成考试题,是长这个样子的: 好的,其实这才是真正的题意: 给定初始序列和最终序列,每次选择一个数变成自己和相邻2个数的和。问初始序列是否可以变为最终序列,若可以,问最少需要多少次。 分析 发现这道题有很多种操作方式,就算是写搜索暴力都不是很好写。 正难则反, ...
分类:
其他好文 时间:
2019-11-01 09:28:51
阅读次数:
92
You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smal ...
分类:
其他好文 时间:
2019-11-01 09:26:31
阅读次数:
103
1069 The Black Hole of Numbers (20 分) 1069 The Black Hole of Numbers (20 分) 1069 The Black Hole of Numbers (20 分) For any 4-digit integer except the o ...
分类:
其他好文 时间:
2019-10-31 13:25:08
阅读次数:
73
$by$ ???????????????? $for$ ? $CF359D\;Pair\;of\;Numbers$ "https://www.luogu.org/problem/CF359D" "https://codeforces.com/problemset/problem/359/D" 题目描 ...
分类:
其他好文 时间:
2019-10-30 22:35:49
阅读次数:
99
一 短信认证 https://cloud.tencent.com/document/product/382/11672 1.下载模块 2.面条版 3.封装版 ...
分类:
其他好文 时间:
2019-10-30 13:22:47
阅读次数:
89