2014年8月4日

.....

摘要: #include#include#include using namespace std;int main(){ vector gao1; int N,M; scanf("%d%d",&N,&M); int x; for(int i=0;i::iterator it=low... 阅读全文

posted @ 2014-08-04 15:58 michaeljunlove 阅读(126) 评论(0) 推荐(0)

编程备忘录

摘要: 1.取得Pi的值#includeconst double pi=4.0*atan(1.0);2.拆分一个数,得到个位,十位,百位。。。//127这个数个位:n%10十位:n/10%10百位:n/1003.交换两个变量的值//a,b两个数int a,b,t;t=a;a=b;b=t;4.保留3位有效数字... 阅读全文

posted @ 2014-08-04 11:22 michaeljunlove 阅读(176) 评论(0) 推荐(0)

导航