- 博客(26)
- 资源 (3)
- 收藏
- 关注
原创 Codeforces刷题之路——41A Translation
A. Translationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe translation from the Berland language in
2016-09-01 16:30:49 790
原创 Codeforces刷题之路——148A Insomnia cure
A. Insomnia curetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output«One dragon. Two dragon. Three dragon», —
2016-08-31 14:12:38 801
原创 Codeforces刷题之路——110A Nearly Lucky Number
A. Nearly Lucky Numbertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves lucky numbers. We all kn
2016-08-31 14:03:09 854
原创 Codeforces刷题之路—— 266B Queue at the School
B. Queue at the Schooltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the break the schoolchildren,
2016-08-31 13:55:46 864
原创 Codeforces刷题之路——711A Bus to Udayland
A. Bus to Udaylandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon are tr
2016-08-30 10:51:55 940
原创 Codeforces刷题之路——266A Stones on the Table
A. Stones on the Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n stones on the table in a
2016-08-29 17:29:42 627
原创 Codeforces刷题之路——546A Soldier and Bananas
A. Soldier and Bananastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA soldier wants to buy w bananas in t
2016-08-26 18:10:23 1099
原创 Codeforces刷题之路——710A King Moves
A. King Movestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe only king stands on the standard chess boa
2016-08-25 17:01:57 1001
原创 Codeforces刷题之路——112A Petya and Strings
A. Petya and Stringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya loves presents. His mum b
2016-08-25 13:02:14 983
原创 Codeforces刷题之路——339A Helpful Maths
A. Helpful Mathstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputXenia the beginner mathematician is a thir
2016-08-25 12:53:22 810
原创 Codeforces刷题之路——AIM Tech Round 3 (Div. 2) A. Juicer
A. Juicertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputKolya is going to make fresh orange juice. He has
2016-08-25 10:18:18 638
原创 Codeforces刷题之路——116A Tram
A. Tramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLinear Kingdom has exactly one tram line. It has n
2016-08-24 15:04:55 630
原创 Codeforces刷题之路——131A cAPS lOCK
A. cAPS lOCKtime limit per test0.5 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputwHAT DO WE NEED cAPS LOCK FOR?Caps lock i
2016-08-24 14:57:14 1361
原创 Codeforces刷题之路——133A HQ9+
A. HQ9+time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHQ9+ is a joke programming language which has only
2016-08-24 14:47:19 1675
原创 Codeforces刷题之路——281A Word Capitalization
A. Word Capitalizationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCapitalization is writing a word wit
2016-08-24 14:42:04 628
原创 Codeforces刷题之路——122A Lucky Division
A. Lucky Divisiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves lucky numbers. Everybody know
2016-08-24 14:35:07 1698
原创 Codeforces刷题之路——58A Chat room
A. Chat roomtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has recently learned to type and log on
2016-08-24 14:26:05 1807
原创 Codeforces刷题之路——236A Boy or Girl
A. Boy or Girltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThose days, many boys use beautiful girls' ph
2016-08-24 14:17:56 1638
原创 Codeforces刷题之路——467A George and Accommodation
A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently entered the
2016-08-24 14:08:21 509
原创 Codeforces刷题之路——263A Beautiful Matrix
A. Beautiful Matrixtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a 5 × 5 matrix, consisting o
2016-08-24 13:52:50 595
原创 Android——showAsAction()
当你的应用程序目标设为蜂巢平台时,你可以利用Action Bar部件提供的全部功能,将你的选项菜单项放在Action Bar的右上角,对用户来说使用更方便,控制该行为的主菜单项属性是android:showAsAction。 这个属性可接受的值有: 1、always:这个值会使菜单项一直显示在Action Bar上。 2、ifRoom:如果有足够的空间,这个值会使菜单项显
2015-05-30 16:29:31 455
转载 Android的按钮单击事件及监听器的实现方式
第一种:匿名内部类作为事件监听器类大部分时候,事件处理器都没有什么利用价值(可利用代码通常都被抽象成了业务逻辑方法),因此大部分事件监听器只是临时使用一次,所以使用匿名内部类形式的事件监听器更合适,实际上,这种形式是目前是最广泛的事件监听器形式。上面的程序代码就是匿名内部类来创建事件监听器的!!!对于使用匿名内部类作为监听器的形式来说,唯一的缺点就是匿名内部类的语法有点不易掌握
2015-05-28 19:22:01 524
转载 Intent实现页面跳转
Intent可以理解为信使(意图)由Intent来协助完成Android各个组件之间的通信。Intent实现页面之间的跳转有两种方式1、 startActivity(intent)2、 startActivityForResult(intent,requestCode);onActivityResult(intrequestCode,intresultCode,Intent d
2015-05-28 19:14:12 733
原创 回溯算法——以八皇后为例
回溯算法也叫试探法,它是一种系统地搜索问题的解的方法。回溯算法的基本思想是:从一条路往前走,能进则进,不能进则退回来,换一条路再试。
2015-04-11 21:01:50 823
转载 java.net.InetAddress类的使用
1.1. 简介IP地址是IP使用的32位(IPv4)或者128位(IPv6)位无符号数字,它是传输层协议TCP,UDP的基础。InetAddress是Java对IP地址的封装,在java.net中有许多类都使用到了InetAddress,包括ServerSocket,Socket,DatagramSocket等等。InetAddress的实例对象包含以数字形式保存的IP地址,同时还
2015-03-02 22:02:20 630
原创 java学习笔记——匿名内部类
Java 中的匿名内部类所谓的匿名内部类就是没有名字的内部类,通常此类型内部类只使用一次。匿名内部类在创建时,必须作为 new 语句的一部分来声明,这就要采用另一种特殊形式的 new 语句。语法 : 这种形式的 new 语句声明一个新的匿名类,它对一个给定的类进行扩展,或者实现一个给定的接口,同时还创建那个类的一个新实例,并把它作为语句的结果而返回。
2014-10-24 13:28:02 562
com.ibm.mq-7.0.1.3.jar包集合
2017-09-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人