- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 hdu 1166 敌兵布阵(单点更新线段树)
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 54411 Accepted Submission(s): 22830Problem DescriptionC国的死对头A国这段时间正在进行军事演
2015-05-27 18:52:36 464
原创 AdapterViewFlipper学习笔记
布局:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="ma
2015-05-26 08:25:42 1002 2
原创 zoj 1005Jugs
JugsTime Limit: 2 Seconds Memory Limit: 65536 KB Special Judge In the movie "Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puzzle. They were gi
2015-05-22 18:37:06 327
原创 nyoj 42 一笔画问题
一笔画问题时间限制:3000 ms | 内存限制:65535 KB难度:4描述 zyc从小就比较喜欢玩一些小游戏,其中就包括画一笔画,他想请你帮他写一个程序,判断一个图是否能够用一笔画下来。规定,所有的边都只能画一次,不能重复画。 输入第一行只有一个正整数N(N每组测试数据的第一行有两个正整数P,Q(P随后的Q行,每行有两个正整数A,B(0输
2015-05-11 20:18:44 943
原创 南阳oj(nyoj) 791 Color the fence
Color the fence时间限制:1000 ms | 内存限制:65535 KB难度:2描述 Tom has fallen in love with Mary. Now Tom wants to show his love and write a number on the fence opposite to Mary’s house. Tom t
2015-05-08 18:59:48 614
原创 根据日期判断是星期几(zeller公式)
直接写成一个函数了int getTheWeek(int year, int month, int day){ int week = 0; int century = year / 100; year = year % 100; week = year + year / 4 + century / 4 - 2 * century + (26 * (mon
2015-05-04 18:03:38 1114
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人