1025. PAT Ranking (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueProgramming Ability Test (PAT) is organized by the College of Computer...
分类:
其他好文 时间:
2015-02-09 00:34:19
阅读次数:
196
在写论文的过程中,我们经常需要描述一些算法,如何描述才能清晰、美观、易读、无歧义?薛磊从《Writing for computer science》中整理了一份PPT,介绍几种常见的算法描述方法。下面是下载链接:Algorithms_writing.pdf
分类:
编程语言 时间:
2015-02-09 00:32:57
阅读次数:
527
在写论文的时候,我们经常需要使用各种数学变量、符号、公式,这些都需要保持适当的规范,才能使论文更加准确、美观、易读。我从《Writing for computer science》中整理了20个小Tips,做成了一张PPT,分享给大家。下面是下载链接:Writing_for_computer_Mat...
分类:
其他好文 时间:
2015-02-08 23:13:53
阅读次数:
253
一、
1、通过反射来获取系统字体并替换
import java.lang.reflect.Field;
import android.content.Context;
import android.graphics.Typeface;
public final class FontsOverride {
public static void setDefaultFont(Con...
分类:
移动开发 时间:
2015-02-08 18:15:14
阅读次数:
189
今天开始看项目二:画幅好画
项目中会用到图形生成包ReportLab,因此首先装好这个包:easy_install reportlab
从书中可以了解到,这个包主要用于作图。
比如说写字、画线等。执行代码:
from reportlab.lib import colors
from reportlab.graphics.shapes import Drawing,String,PolyLi...
分类:
编程语言 时间:
2015-02-08 12:57:05
阅读次数:
179
package com.tanzhou.imageDemo;import java.awt.Color;import java.awt.Font;import java.awt.Graphics;import java.awt.Image;import java.awt.image.Buffered...
分类:
编程语言 时间:
2015-02-08 10:18:08
阅读次数:
227
Activity的切换效果使用的是Android的动画效果,Android的动画在官方有相关资料:http://developer.android.com/guide/topics/graphics/animation.html和http://developer.android.com/guide/topics/resources/animation-resource.html ,Activity...
分类:
移动开发 时间:
2015-02-08 09:06:26
阅读次数:
192
http://acm.hdu.edu.cn/showproblem.php?pid=1054
Problem Description
Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then...
分类:
其他好文 时间:
2015-02-07 20:23:14
阅读次数:
129
The Blocks ProblemTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 4815Accepted: 2043DescriptionMany areas of Computer Science use simple, abs...
分类:
其他好文 时间:
2015-02-07 18:51:32
阅读次数:
139
要在picturebox中自由绘制图片,一开始将绘制函数写入在Paint中public void ff_Paint(object sender, PaintEventArgs e) { CreatShow(Graphics.FromHwnd(fpic.Handle)); //这样卡爆了. }vo.....
分类:
其他好文 时间:
2015-02-06 14:53:50
阅读次数:
158