E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
iomanip
uva 12300 - Smallest Regular Polygon
#include<iostream> #include<
iomanip
> #include<cmath> #define pi 2.0*asin
·
2015-11-13 10:02
uva
[笔试]常考算法
#include<iostream> using namespace std; #include<cmath> #include<
iomanip
> //虚函数
·
2015-11-13 07:02
算法
【水】HDU 2099——整除的尾数
#include <iostream> #include <cstring> #include <
iomanip
> #include <cmath
·
2015-11-13 07:50
HDU
hdu1042(大数模板)
#include<iostream> #include<string.h> #include<
iomanip
> #include <stdio.h>
·
2015-11-13 06:56
HDU
琐碎知识
好多细节知识已经忘了,需要写出来汇总一下了: 1.输出两位小数 #include<iostream> #include<
iomanip
> //setprecision()
·
2015-11-13 05:44
《C++PRIMER》笔记20090407
setw()操纵符限制读取的字符个数为其参数减1,可以用于保证数据不溢出(需要#include<
iomanip
>)。2.
·
2015-11-13 04:55
Prim
signal
#include<iostream.h>#include <
iomanip
.h>#include <signal.h>#include <stdlib.h>
·
2015-11-13 02:30
Signal
桶排序
#include <iostream.h> #include <
iomanip
.h> // constant size must be defined as the array
·
2015-11-13 02:24
排序
C++中Txt文件读取和写入
C++中Txt文件读取和写入 笔记:C++文件的读取和写入 #include <iostream>#include <
iomanip
>#include <fstream
·
2015-11-13 01:17
文件读取
从零开始学C++之IO流类库(四):输出流格式化(以操纵子方式格式化 以ios类成员函数方式格式化)
一、以操纵子方式格式化 数据输入输出的格式控制使用系统头文件<
iomanip
>中提供的操纵符。把它们作为插入操作符<<的输出对象即可。
·
2015-11-13 01:38
C++
输出杨辉三角最快最短的代码
#include <iostream>#include <
iomanip
>using namespace std;int main(int argc,char* argv[]){
·
2015-11-12 22:19
代码
[置顶] HDU 1754 线段树
lt;algorithm> #include<cstdio> #include<cmath> #include<cctype> #include<
iomanip
·
2015-11-12 21:10
HDU
简单的排序算法——插入排序,选择排序,交换排序(冒泡排序,快速排序)
//默认是从小到大排序 #include <time.h> #include <iostream> #include <
iomanip
> using
·
2015-11-12 21:38
冒泡排序
C++ cout 输出 16, 8 , 2进制
C++ cout 输出 16, 8 , 2进制 #include <iostream>#include <
iomanip
>#include <bitset>using
·
2015-11-12 21:56
C++
C++读写文件流的相关介绍
ifstream // 输入文件流 ofstream // 输出文件流 //创建一个文本文件并写入信息 //同向屏幕上输出信息一样将信息输出至文件 #include<
iomanip
.h
·
2015-11-12 20:56
C++
C++中如何象printf一样设置显示格式
使用前需引用头文件 #include <
iomanip
> cout.precision(x),setprecision(x)设置精度 float f = 33.456
·
2015-11-12 18:54
printf
Poj 1269 Intersecting Lines_几何模板
#include <iostream> #include <math.h> #include <
iomanip
> #define eps 1e-8 #define
·
2015-11-12 17:46
intersect
1141 DP 括号序列
#include <iostream> #include <string> #include <
iomanip
> using namespace std; #
·
2015-11-12 16:44
dp
dancing link模板
#include<cstring> 4 #include<algorithm> 5 #include<cmath> 6 #include<
iomanip
·
2015-11-12 14:35
link
C++指针的引用
[1]指针的引用,必须加上头文件<
iomanip
>因为调用类setw() 对一个数据可以使用“引用
·
2015-11-12 12:13
C++
训练1:删除序列中相同的数
#include<iostream> #include<
iomanip
> using namespace
·
2015-11-11 19:47
删除
格式化输入输出
#include<iostream> #include<cmath> #include<
iomanip
> using namespace std; int
·
2015-11-11 16:30
格式化
C++ 流
iostream_test.cpp #include <iostream>using namespace std;#include <stdlib.h>#include <
iomanip
·
2015-11-11 15:11
C++
uva 11524 - InCircle (二分法)
#include<iostream> #include<
iomanip
> #include<algorithm> #include
·
2015-11-11 15:06
二分法
poj 2728 Desert King(最优比例生成树)
cstdio> #include <cmath> #include <cstdlib> #include <cstring> #include <
iomanip
·
2015-11-11 14:37
des
ZOJ 1338 升、降序平均长度
#include<iostream>#include<
iomanip
>using namespace std;int shu[100],up[2],down[2];
·
2015-11-11 12:53
ZOJ
ZOJ 1337 集合、关系求pi
#include<iostream.h>#include<math.h>#include<
iomanip
.h>//using namespace std;int shu
·
2015-11-11 12:52
ZOJ
ZOJ 1334 任意进制转换
#include<iostream.h>#include<string.h>#include<math.h>#include<
iomanip
.h>char
·
2015-11-11 12:51
进制转换
ZOJ 1216
/////////////////////////////////////////////Deck//叠多少张牌可超桌面多少#include<iostream.h>#include<
iomanip
.h
·
2015-11-11 12:48
ZOJ
ZOJ 1241 求直角三角形第三边
Simple//求直角三角形第三边#include<iostream.h>#include<string.h>#include<math.h>#include<
iomanip
.h
·
2015-11-11 12:47
ZOJ
ZOJ 1090 三点求圆周
求以此三点所确定的圆的周长//先用余弦定理cosα=(b^2+c^2-a^2)/(2bc),再求sinα,那么直径d=a/sinα,周长l=dπ#include<iostream>#include<
iomanip
·
2015-11-11 12:41
ZOJ
ZOJ 1070 计算电路电压
//一道物理题,VR=VS*R*C*w/sqrt(R^2*C^2*w^2+1) #include<iostream>#include<
iomanip
>#include
·
2015-11-11 12:38
ZOJ
编程之美a题小数据 学习用sstream 处理字符串
algorithm> #include <iostream> #include <fstream> #include <sstream> #include <
iomanip
·
2015-11-11 11:13
Stream
cout格式化输出
//<iostream>在使用setf等库函数时使用 //<
iomanip
>在使用流操纵算子时使用 //using namespace std; //以下所有的setf()都有对应的
·
2015-11-11 10:53
格式化
c++标准化输出几个问题
40816034200891553750894/ #include <iostream> //不要用iostream.h ,会出现好多问题 #include <
iomanip
·
2015-11-11 08:12
C++
回文词
#include <iostream> #include <stdio.h> #include <
iomanip
> #include <string>
·
2015-11-11 08:55
回文
ZOJ 2797 最安全逃芝加哥路径
//////////最安全逃芝加哥路径//用单源最短路径法//在本题中的prev[]没有用到,这是用于构造最短路径的,本题不需要#include<iostream>#include<
iomanip
·
2015-11-11 07:30
ZOJ
ZOJ 2351
//关键是一条公式#include <iostream>#include <
iomanip
>#include <math.h> using namespace
·
2015-11-11 07:24
ZOJ
ZOJ 1915
#include <iostream>#include<
iomanip
>using namespace std;double st[1005]; int main
·
2015-11-11 07:14
ZOJ
ZOJ 1904 海狸咬木
// 1904 海狸咬木// 一道简单的数学题#include <iostream>#include <math.h>#include <
iomanip
>using
·
2015-11-11 07:13
ZOJ
ZOJ 1813
///////////////////////////////////////////////////////#include <iostream>#include<
iomanip
>
·
2015-11-11 07:11
ZOJ
ZOJ 1763
///////////////////////////////////////////////////////#include<iostream>#include <
iomanip
>
·
2015-11-11 07:10
ZOJ
库鲁斯卡尔算法
//Kruskal 算法的实现 #include <iostream> #include <string> #include <
iomanip
> #include
·
2015-11-11 06:37
算法
C++中输出 位宽和小数点后位数 的控制
要用到这个头文件: <
iomanip
>
·
2015-11-11 06:52
C++
typedef、setw()
#include <iostream>#include <
iomanip
>using namespace std;typedef int Customint;void main(
·
2015-11-11 06:29
typedef
杨辉三角程序
Code #include <iostream> #include <
iomanip
> using namespace&
·
2015-11-11 06:54
程序
poj2546Circular Area(两圆相交面积)
求出扇形的面积减掉三角形面积 #include <iostream> using namespace std; #include<cmath> #include<
iomanip
·
2015-11-11 05:56
poj
POJ 2253 Frogger
#include < iostream > #include < cmath > #include <
iomanip
·
2015-11-11 04:00
poj
C++ IO 详细用法
/www.cnblogs.com/keam37/ keam所有 转载请注明出处 本文将分别从<iostream>,<sstream>,<fstream>,<
iomanip
·
2015-11-11 03:06
C++
hdu 1330
View Code 1 #include<iostream> 2 #include<
iomanip
> 3 using namespace std; 4 int
·
2015-11-11 01:48
HDU
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他