- 博客(7)
- 收藏
- 关注
原创 PAT1005. Spell It Right (20)
题目如下:Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contains one tes
2017-03-31 14:09:01 206
原创 PAT1004. Counting Leaves (30)
题目如下:A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains one test case. Each case starts with a
2017-03-30 19:45:10 249
原创 PAT1003. Emergency (25)
题目如下:As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each cit
2017-03-30 15:21:07 220
原创 PAT1002. A+B for Polynomials (25)
题目如下:This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and each line contains the information
2017-03-28 11:48:56 274
原创 PAT1001. A+B Format(20)
最近开始每天做一道PAT练手,下面是PAT1001的题目。Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits
2017-03-27 20:41:13 328
原创 Android《第一行代码》第5章 笔记
第五章主要介绍了Android中的广播机制。Android中的每个应用程序都可以对自己感兴趣的广播进行注册。Android允许应用程序自由地发送和接收广播。可以通过Intent发送广播,通过广播接收器(Broadcast Receiver)来接收广播。广播类型分为标准广播和有序广播。标准广播是一种完全异步执行的广播,广播发出后,所有广播接收器几乎会在同一时刻接收到这条广播消息,没有先后顺序
2017-03-20 10:21:45 324
原创 Android《第一行代码》第4章 笔记
第四章主要介绍了碎片(Fragment)的概念和相关用法。因为存在很多尺寸的移动设备,比如手机和平板电脑,屏幕大小的差距过大可能会让同样的界面在视觉效果上有较大差异。这里引入碎片的概念,可以同时兼顾手机和平板的开发。碎片是一种可以嵌入在活动当中的UI片段,有自己的生命周期,可以理解成一个迷你型的活动。可以自定义一个碎片类继承自Fragment,重写其中的onCreateView方法,在
2017-03-04 18:51:04 764
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人