一.AlertDialog的简介: 继承于Dialog,能够显示一个,两个,三个button;如果你只想展示一个字符串类型的数据使用setMessage()方法就可以了,但如果你想显示一个更加复杂的View,查询一个加做custom的FrameLayout并添加子View进去 。 FrameLayo... ...
分类:
其他好文 时间:
2018-10-17 00:12:00
阅读次数:
186
题目 Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Exam ...
分类:
其他好文 时间:
2018-10-15 12:20:11
阅读次数:
142
Given an array w of positive integers, where w[i] describes the weight of index i, write a function pickIndex which randomly picks an index in proport ...
分类:
其他好文 时间:
2018-10-14 00:23:46
阅读次数:
212
SUBTRACT Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 2037 Accepted: 901 Special Judge Description We are given a sequence of N positive ...
分类:
其他好文 时间:
2018-10-12 01:28:04
阅读次数:
143
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. k is a positive integer and is less than or equal to ...
分类:
编程语言 时间:
2018-10-09 13:57:54
阅读次数:
264
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. k is a positive integer and is less than or equal to ...
分类:
其他好文 时间:
2018-10-07 23:30:32
阅读次数:
291
题目描述 Illustration of exponial(3) (not to scale), Picture by C.M. de Talleyrand-Périgord via Wikimedia Commons Everybody loves big numbers (if you do n ...
分类:
其他好文 时间:
2018-10-06 20:36:17
阅读次数:
210
一、题目 Given n, a positive integer, how many positive integers less than n are relatively prime to n? Two integers a and b are relatively prime if there ...
分类:
其他好文 时间:
2018-10-06 16:45:27
阅读次数:
120
Little C Loves 3 I Description Little C loves number «3» very much. He loves all things about it. Now he has a positive integer nn. He wants to split ...
分类:
其他好文 时间:
2018-10-06 12:07:56
阅读次数:
128
Codeforces 1060 b You are given a positive integer nn. Let S(x)S(x) be sum of digits in base 10 representation of xx, for example, S(123)=1+2+3=6S(123 ...
分类:
其他好文 时间:
2018-10-06 11:52:23
阅读次数:
172