码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
PAT Advanced 1038 Recover the Smallest Number (30分)
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c ...
分类:其他好文   时间:2020-01-28 19:08:30    阅读次数:82
使用本地广播
MainActivity中的代码,要先导入架包 package com.example.broadcasttest; import androidx.appcompat.app.AppCompatActivity; import android.content.BroadcastReceiver; ...
分类:其他好文   时间:2020-01-28 17:10:09    阅读次数:100
Point Estimation
Point Estimation $\bullet$What is point estimation? Example: $\bullet$ Bevan, Kullberg, and Rice ( 1979) studied random fluctuations of current across ...
分类:其他好文   时间:2020-01-28 12:32:04    阅读次数:78
Android基础——Fragment的创建和添加
新建一个Fragment的过程 package com.example.myactivityiiii; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import and ...
分类:移动开发   时间:2020-01-27 17:33:41    阅读次数:102
PAT Advanced 1132 Cut Integer (20分)
Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 1673 ...
分类:其他好文   时间:2020-01-27 17:11:56    阅读次数:80
PAT Advanced 1019 General Palindromic Number (20分)
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number ...
分类:其他好文   时间:2020-01-27 13:55:18    阅读次数:58
[LeetCode] 929. Unique Email Addresses 独特的邮件地址
Every email consists of a local name and a domain name, separated by the @ sign. For example, in , is the local name, and is the domain name. Besides ...
分类:其他好文   时间:2020-01-27 09:33:24    阅读次数:73
date 处理
/** * 格式化时间 * * @param {time} 时间 * @param {cFormat} 格式 * @return {String} 字符串 * * @example formatTime('2018-1-29', '{y}/{m}/{d} {h}:{i}:{s}') // -> 20 ...
分类:其他好文   时间:2020-01-27 00:08:53    阅读次数:55
PAT 甲级 1104 Sum of Number Segments (20分)(有坑,int *int 可能会溢出)
1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the s ...
分类:其他好文   时间:2020-01-26 19:20:05    阅读次数:96
python 定义类时,内部方法的互相调用
class MyClass: def __init__(self): pass def func1(self): # do something print('a') #for example self.common_func() def func2(self): # do something sel ...
分类:编程语言   时间:2020-01-26 17:41:09    阅读次数:85
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!