Truck HistoryTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:178964-bit integer IO format:%lld Java class name:M...
分类:
其他好文 时间:
2014-08-28 09:36:59
阅读次数:
299
畅通工程再续Time Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:187564-bit integer IO format:%I64d Java class name:Main相信大...
分类:
其他好文 时间:
2014-08-27 23:14:18
阅读次数:
274
当在非UI线程中更新UI(程序界面)时会出现如下图所示的异常:
Only the original thread that created a view hierarchy can touch its views.
那如何才能在非UI线程中更细UI呢?
方法有很多种,在这里主要介绍两种:
第一种:在需要更新UI的代码行后加Looper.prepare();与Looper.loop();两句话即可。如:...
分类:
移动开发 时间:
2014-08-27 20:34:08
阅读次数:
352
Agri-NetTime Limit: 1000msMemory Limit: 10000KBThis problem will be judged onPKU. Original ID:125864-bit integer IO format:%lld Java class name:MainFa...
分类:
Web程序 时间:
2014-08-27 20:13:28
阅读次数:
348
终于通过了,呵呵:/*ID: qq104801LANG: CTASK: beads*/#include #include #include /* for debug only:counter*/void debug_dummy(void){ return;}int n;char k[800];...
分类:
其他好文 时间:
2014-08-27 20:12:48
阅读次数:
279
Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The r...
分类:
其他好文 时间:
2014-08-27 16:34:58
阅读次数:
242
Road ConstructionTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:335264-bit integer IO format:%lld Java class na...
分类:
其他好文 时间:
2014-08-27 16:23:47
阅读次数:
202
SPFTime Limit: 1000msMemory Limit: 10000KBThis problem will be judged onPKU. Original ID:152364-bit integer IO format:%lld Java class name:MainConside...
分类:
其他好文 时间:
2014-08-27 16:10:17
阅读次数:
171
Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the cod...
分类:
其他好文 时间:
2014-08-27 14:45:48
阅读次数:
236
题目链接Krishnakant is standing at(0,0)in the Cartesian plane. He wants to go to the point(N,M)in the same plane using only horizontal and vertical moves ...
分类:
其他好文 时间:
2014-08-27 14:30:17
阅读次数:
230