Piggy-Bank
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 7626
Accepted: 3665
Description
Before ACM can do anything, a budget must be prepared and the ne...
分类:
其他好文 时间:
2014-06-16 11:48:41
阅读次数:
271
题目
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
方法
矩阵坐标的转换,循环替换。
public voi...
分类:
其他好文 时间:
2014-06-16 11:28:03
阅读次数:
199
While it’s cool to make a custom element like
we did the the previous cast, it’s actually more common to do things like create
custom attributes. Thes...
分类:
Web程序 时间:
2014-06-16 10:19:04
阅读次数:
276
AnIntentis an object that provides runtime
binding between separate components (such as two activities).
Theintentrepresents an app’s "intent to do so...
分类:
移动开发 时间:
2014-06-16 10:00:27
阅读次数:
248
dispatch_queue_t queue =
dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
dispatch_async(queue, ^{ //do it dispatch_async(di...
分类:
移动开发 时间:
2014-06-16 06:40:44
阅读次数:
530
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
思路:第一种思路是一层一层的进行旋转,比较直观,但是花费的时间要久一些;第二种思路则比较取巧,首先沿着...
分类:
其他好文 时间:
2014-06-15 08:46:26
阅读次数:
170
刚刚接触,还需在项目中,逐步深入的理解,站在巨人的肩膀上学习,成长还是比较快的;知识的学习都是通过对比,在gxpt中很多内容都是对比NET的知识学习,理解的也深刻、效果不错;抽象的能力的培养尤其重要,看着师哥们抽象的底层,处处体现着抽象带来的软件复用的高效,老师经常也在谈,抽象不要只说,更要我们要不断的运用到自己的实际项目中,TO DO,TO DO!!!...
分类:
编程语言 时间:
2014-06-14 07:33:12
阅读次数:
362
代码:@ResponseBody @RequestMapping("/login.do")
public Json login(SysUserPM sysUserPM, HttpSession session) { Json j = new
Json(); S...
分类:
编程语言 时间:
2014-06-13 20:06:08
阅读次数:
775
Reverse Linked List IIReverse a linked list from
positionmton. Do it in-place and in one-pass.For example:Given
1->2->3->4->5->NULL, m= 2 andn= 4,retu...
分类:
其他好文 时间:
2014-06-12 07:03:54
阅读次数:
308