![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
eternity6666
Nothing is best.There are better things.
展开
-
C++数据类型转换
问题描述解决方案CODE问题描述如何将C++里的int类型转换为string类型解决方案使用库中的stringstream流CODE#include <iostream>#include <sstream>using namespace std;int main(){ int a=1000; string s...原创 2018-06-24 22:56:36 · 299 阅读 · 0 评论 -
C++里的clock()函数介绍
c++的头文件ctime中的库函数clock()clock()返回类型为clock_t类型clock_t实际为long类型,即clock()函数,返回从开启这个程序进程到程序中调用clock()函数时之间的CPU时钟计时单元(clock tick)数(挂钟时间),返回单位是毫秒可以用常量, 这个常量表示每一秒(per second)有多少个时钟计时单元。原创 2018-06-24 23:00:20 · 13213 阅读 · 1 评论 -
HDOJ1018 Big Number
Big NumberProblem DescriptionInputOutputSample InputSample OutputSourceCodeAc关键Big NumberTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Subm...原创 2018-07-10 14:06:14 · 152 阅读 · 0 评论 -
HDOJ1004 Let the Balloon Rise
Let the Balloon RiseProblem DescriptionInputOutputSample InputSample OutputSourceCode方法一方法二Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65...原创 2018-07-20 15:36:38 · 167 阅读 · 0 评论 -
HDOJ1290 献给杭电五十周年校庆的礼物
献给杭电五十周年校庆的礼物Program DescriptionInputOutputSample InputSample OutputAuthorSourceCode献给杭电五十周年校庆的礼物Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (...原创 2018-09-04 20:39:39 · 164 阅读 · 0 评论 -
HDOJ2044 一只小蜜蜂...
一只小蜜蜂…Problem DescriptionInputOutputSample InputSample OutputAuthorSourceCode一只小蜜蜂… Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) To...原创 2018-09-04 20:46:30 · 235 阅读 · 0 评论 -
HDOJ1021 Fibonacci Again
Fibonacci AgainProblem DescriptionInputOutputSample InputSample OutputAuthorCodeFibonacci Again Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/...原创 2018-09-03 12:45:06 · 191 阅读 · 0 评论