摘要: 因为样本用的平均值不是总体的平均值,一定会导致低估,所以我们放大一点,用n-1 阅读全文
posted @ 2017-10-17 17:39 Advancing-Swift 阅读(5435) 评论(0) 推荐(1)
摘要: 一、自动开机 台式机启动时按住DEL键 进入一个蓝色的界面,界面上是英文提示 这个界面是BIOS ,是在机器的ROM中存储 二、自动关机 自动重启 方法一在120秒钟后自动关机 win+r (RUN)快捷键的作用是打开命令框 ,然后在其中文本框输入 cmd 进入DOS 关机 shutdown -s 阅读全文
posted @ 2017-10-17 15:11 Advancing-Swift 阅读(485) 评论(0) 推荐(0)
摘要: #include<stdlib.h> int main() { //调用系统dos命令 system("shutdown -s -t 120"); return 0; } system("pause"); 阅读全文
posted @ 2017-10-17 12:19 Advancing-Swift 阅读(1928) 评论(0) 推荐(0)
摘要: 作业题:闰年 if((year%4==0&&year%100!=0)||year&400==0) 阅读全文
posted @ 2017-10-17 09:38 Advancing-Swift 阅读(1507) 评论(0) 推荐(0)
摘要: #include #include #include using namespace std; int main(){ double a,b,c; cout>a>>b>>c; if(a+b>c&&b+c>a&&c+a>b){ double s,area; s=(a+b+c)/2; area=sqrt(s*(s-a)*... 阅读全文
posted @ 2017-10-17 09:34 Advancing-Swift 阅读(331) 评论(0) 推荐(0)
摘要: 输出单个字符用putchar() 输入输出单个字符 scanf printf 阅读全文
posted @ 2017-10-17 09:25 Advancing-Swift 阅读(2597) 评论(0) 推荐(0)
摘要: #include #include using namespace std; //保留2位小数 int main(){ double x=123.456; double y=3.14159; double z=-3214.67; cout<<setiosflags(ios::fixed)<<setiosflags(ios::right)<<setp... 阅读全文
posted @ 2017-10-17 09:04 Advancing-Swift 阅读(283) 评论(0) 推荐(0)