码迷,mamicode.com
首页 >  
搜索关键字:format    ( 13577个结果
(map) zoj 1633
A -Alice's presentTime Limit:5000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3633Appoint description:DescriptionAs a doll...
分类:其他好文   时间:2015-01-30 17:07:27    阅读次数:141
java小数点的两种处理方法
1. java.text.DecimalFormat; //此方法为四舍五入例如:DecimalFormat df = new DecimalFormat("#.0"); //#.0代表一位小数 #.00代表两位小数 以此类推 df.format(num); 2.Math.round(); /...
分类:编程语言   时间:2015-01-30 17:05:30    阅读次数:208
LeetCode—*Fraction to Recurring Decimal
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parentheses....
分类:其他好文   时间:2015-01-30 15:55:05    阅读次数:123
【PHP】新浪、淘宝的地区 API调用
1 /推荐使用新浪的: 2 $ch = curl_init(); 3 $url = "http://ip.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=202.102.3.141"; //测试202.102.3.141 江苏省常...
分类:Windows程序   时间:2015-01-30 15:09:39    阅读次数:216
Mysql中谓词使用date_format的优化
优化前:SELECT a.* FROM t1 a,(SELECT obj_id,MAX(PRE_DETAIL_INST_ID) PRE_DETAIL_INST_ID FROM t1 WHERE DATE_FORMAT(crt_date,'%Y-%m-%d %H') = DATE_FORMAT(DAT...
分类:数据库   时间:2015-01-30 15:08:35    阅读次数:308
Visual C++ 基础数据类型的转换
16.1如何将基本数据类型转换成CString类型用CString的Format方法void CDemoView::OnDraw(CDC* pDC){ int a = 100; double b = 1.23; //将整型转换成CString CString str1 = _...
分类:编程语言   时间:2015-01-30 14:55:33    阅读次数:152
float + double 类型数据如何控制他们的小数点
1 double value = 16325.62901; 2 string specifier; 3 CultureInfo culture; 4 5 // Use standard numeric format specifiers. 6 specifier = "G"; 7 culture.....
分类:其他好文   时间:2015-01-30 14:53:29    阅读次数:195
UVA 10534-Wavio Sequence(dp_正序逆序最长上升子序列)
Wavio Sequence Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Description Problem D Wavio Sequence  Input: Standard Input Output: Standard Output...
分类:其他好文   时间:2015-01-30 09:16:46    阅读次数:242
Codeforces Round #226 (Div. 2):Problem 385C - Bear and Prime Numbers (素数刷法+前缀和)
Time Limit: 2000ms Memory Limit: 524288KB This problem will be judged on CodeForces. Original ID: 385C 64-bit integer IO format: %I64d      Java class name: (Any) Prev Submit Status Sta...
分类:其他好文   时间:2015-01-30 09:14:45    阅读次数:128
C++ 创建文件的方法
CString getPath(){ CTime time = CTime::GetCurrentTime(); CString t = time.Format(_T("%Y%m%d%H%M%S")); CString path("c://cjt//"); path.Append(_T("devic...
分类:编程语言   时间:2015-01-29 22:29:03    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!