//Canvas.TextOut文字保存为图片//Delphi开发案例精选,使用TextOut在画布上画图procedure TForm1.Button1Click(Sender: TObject);varMy_Image:Timage;i:integer;begintryMy_Image:=Tim...
分类:
其他好文 时间:
2014-07-29 20:42:32
阅读次数:
227
最近用到了postgresql中的to_char将数字转为字符串,现将官网的实例搜集如下除了以上功能外,to_char还有四舍五入的功能selectto_char(3.005,‘0.99‘)返回3.01selectto_char(3.003,‘0.99‘)返回的是3.00好了有啥问题直接流言一超交流
分类:
数据库 时间:
2014-07-29 18:21:03
阅读次数:
210
A - N!
Time Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!
...
分类:
其他好文 时间:
2014-07-29 18:06:02
阅读次数:
280
低价购买
Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)
Total Submission(s) : 19 Accepted Submission(s) : 4
Font: Times New Roman | Verdana | Georgia
Font Size: ← →...
分类:
其他好文 时间:
2014-07-29 17:52:52
阅读次数:
169
凸边形外壳
Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)
Total Submission(s) : 27 Accepted Submission(s) : 4
Font: Times New Roman | Verdana | Georgia
Font Size: ← ...
分类:
其他好文 时间:
2014-07-29 17:50:02
阅读次数:
260
基本数据类型包装类Integer Character其他的都是将首字母大写;包装类和基本类型之间的转换:Integer intInteger i = new Integer(int value);int i2 = i.intValue();基本数据类型和String转换String -->intst...
分类:
编程语言 时间:
2014-07-29 17:20:02
阅读次数:
332
Integer Inquiry
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 12426 Accepted Submission(s): 3123
Problem Description
One of the fi...
分类:
其他好文 时间:
2014-07-29 15:03:38
阅读次数:
245
Description
Given a positive integer N, you should output the most right digit of N^N.
Input
The input contains several test cases. The first line of the input is a single integer...
分类:
Web程序 时间:
2014-07-29 14:47:28
阅读次数:
270
#include
#include
#define MAXN 100+5
#define MAXL 100+5
char addend[MAXN][MAXL];//保存加数
char ans[MAXL];//保存结果
int len[MAXN];//保存每个加数的长度
int main(){
int cnt=0;//加数的个数
int max=0;//最长的加数的长度
int i,k,...
分类:
其他好文 时间:
2014-07-29 14:35:18
阅读次数:
183
Description
Given two positive integers n and k, you are asked to generate a new integer, say m, by changing some (maybe none) digits of n, such that the following properties holds:
m contains n...
分类:
其他好文 时间:
2014-07-29 14:22:18
阅读次数:
225