Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

以前的计算内存的方法和现在的不一样,把他们的程序重交一遍就不是那个数了

Posted by zgw at 2011-10-04 22:41:13 on Problem 3062
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator