首页 > 其他 > 详细

bat-bat-bat (重要的事情说三遍)

时间:2016-10-28 13:31:50      阅读:188      评论:0      收藏:0      [点我收藏+]

去年noip前prey亲授,当时就觉得这是个好东西!非常好!然后我就没学会。接着最近被安利小红的bat!!!

本来想贴prey高端代码,然后就发现大概太高端和我的输入完全不对口,就不知道什么时候一不小心丢弃回收站了(嘘)。

偶然发现还留有这样一个高端---(我也不懂是什么,害怕再不小心丢弃dalao高端代码,贴!)

 1 #include <stdio.h>
 2 #include <time.h>
 3 #include <string.h>
 4 
 5 int main()
 6 {
 7     int t1 = clock();
 8     int out[ 1000100 ];
 9     for( int i = 1; i <= 1000000; i++ ){
10         out[ i ] = i;
11     }
12     
13     int t2 = clock();
14     printf("%lf\n", (double)(t2 - t1) / CLOCKS_PER_SEC );
15 }
16     
17     
18 /* 运行所占内存:(cmd) "size name.exe" */

嗯。就是知道很厉害我看不懂就对了。

那么,接下来,小红bat!!! get!!!谢小红!!!

http://www.cnblogs.com/reddest/p/5925018.html

%%%

 

bat-bat-bat (重要的事情说三遍)

原文:http://www.cnblogs.com/wjting/p/6007443.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!