//find greatest among two numbers import java.util.Scanner; public class Numbers { public static void main(String[] args) { int num1, num2; Scanner ip... ...
分类:
编程语言 时间:
2019-12-25 12:58:36
阅读次数:
364
A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 ...
分类:
其他好文 时间:
2019-12-24 17:05:35
阅读次数:
90
进制 #include<iostream> #include<math.h> #define ll long long using namespace std; ll r,store[100010]; void pp(ll n) { r=0; while(n!=0){ store[r++]=n%3; ...
分类:
其他好文 时间:
2019-12-22 18:49:53
阅读次数:
80
起因是因为想了解闭包的内存泄露机制,然后想起《js高级程序设计》中有关于垃圾回收机制的解析,之前没有很懂,过一年回头再看就懂了,写篇博客与大家分享一下。 #内存的生命周期: 分配你所需要的内存: 由于字符串、对象等没有固定的大小,js程序在每次创建字符串、对象的时候,程序都会分配内存来存储那个实体。 ...
分类:
Web程序 时间:
2019-12-22 14:34:05
阅读次数:
101
参考:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/A_re-introduction_to_JavaScript Javascript 类型: 数字: JavaScript 不区分整数值和浮点数值,所有数字在 JavaScript ...
分类:
编程语言 时间:
2019-12-22 12:50:04
阅读次数:
105
Description Description Given n items with size nums[i] which an integer array and all positive numbers. An integer target denotes the size of a backp ...
分类:
其他好文 时间:
2019-12-21 22:50:22
阅读次数:
99
Description A message containing letters from A-Z is being encoded to numbers using the following mapping way: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Beyond ...
分类:
其他好文 时间:
2019-12-21 22:41:47
阅读次数:
103
Description Description A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 ...
分类:
其他好文 时间:
2019-12-21 22:40:11
阅读次数:
101
Description Given an integer array nums with all positive numbers and no duplicates, find the number of possible combinations that add up to a positiv ...
分类:
其他好文 时间:
2019-12-21 22:30:21
阅读次数:
119
Description Description Given an integer array nums[] which contains n unique positive numbers, num[i] indicate the size of ith item. An integer targe ...
分类:
其他好文 时间:
2019-12-21 22:18:52
阅读次数:
90