Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
以前的计算内存的方法和现在的不一样,把他们的程序重交一遍就不是那个数了In Reply To:请问 0KB,4KB 的程序是怎么做出来的啊?希望有大牛回答 Posted by:gzdk at 2011-10-04 21:54:39 > #include <stdio.h> > void main() > { > char buf[8]; > while (gets(buf)) > printf("%s\n", buf); > } > > > #include <stdio.h> > void main() > { > char c; > while (scanf("%c", &c) != EOF) > printf("%c", c); > } > > 为什么这么写都是100多KB 啊,和0KB 4KB 差距也太大了吧?谁能提供个0KB 或4KB 的程序啊?不胜感激。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator