A、确定性数学计算,水,读题要快 1 #include 2 #include 3 4
using namespace std; 5 int N,d; 6 int main(){ 7
while(~scanf("%d%d",&N,&d)){ 8 int cnt=0; 9 ...
分类:
其他好文 时间:
2014-06-29 13:39:46
阅读次数:
215
Max Points on a Line开始无脑匹配结果超时:class Solution
{public: int maxPoints(vector &points) { int ans = 0; for (int i = 0; i ans)
ans = num...
分类:
其他好文 时间:
2014-06-29 13:10:03
阅读次数:
268
Paint paint1 = new Paint();paint1.setXfermode(new
PorterDuffXfermode(Mode.CLEAR));canvas.drawPaint(paint1);paint1.setXfermode(new
PorterDuffXfermode(M...
分类:
其他好文 时间:
2014-06-29 12:37:10
阅读次数:
202
在用java swing
做例子,给页面设置皮肤样式的时候出现了这个错误:org.jvnet.substance.api.UiThreadingViolationException:
Component creation must be done on Event Dispatch Thread a...
分类:
其他好文 时间:
2014-06-29 12:17:41
阅读次数:
327
一. 加 ssh-key二. git clone三. 本地操作1. 创建分支(本地)git
branch feature/new_task2. 切换分支git checkout feature/new_task(1&2 git checkout
-b feature/new_task)3. 查看.....
分类:
其他好文 时间:
2014-06-29 07:52:41
阅读次数:
252
在Windows环境下编译cocos2d-x-3.0Android-NDK编译:cocos2d-x(二)Mac
下搭建:http://www.cocoachina.com/bbs/read.php?tid=199238
分类:
移动开发 时间:
2014-06-05 19:08:11
阅读次数:
398
废话不多直接说,在while中比较容易走进死循环的误区,代码如下 int k = 0; int
index = 0; while (k < dataArr.Length) { ...
分类:
其他好文 时间:
2014-06-05 18:57:49
阅读次数:
203
Programs for handling SQL commands. The "core" of
MySQL.These are the.cand.ccfiles in thesqldirectory:derror.cc --- read
language-dependent message fi...
分类:
数据库 时间:
2014-06-05 17:38:07
阅读次数:
362
This is the beginning of my plan. Or this is a
manifesto, a motivation for me. Note what I read, good or bad, old or new, Tao
or method. Maybe sometim...
分类:
其他好文 时间:
2014-06-05 15:57:51
阅读次数:
373
键盘移动 (Move)一切都从键盘的移动k-> 上 upj-> 下
downh-> 左 leftl-> 右 rightz-> 重画屏幕,当前光标变成屏幕的第一行 (redraw current line at
top of window)CTRL-f-> 跳到下一页 (page down)CTRL-...
分类:
其他好文 时间:
2014-06-05 15:48:07
阅读次数:
354