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

Re:why Presentation Error?

Posted by xiaoha at 2005-09-08 17:36:15 on Problem 2141
In Reply To:Re:why Presentation Error? Posted by:shunan at 2005-09-08 13:05:37
我觉得你可以一个字符一个字符的读入,也可以整体读入,这样处理起来方便一些,如果把整个字符串分成小的字符串,再输出,比较容易出问题
> 放了啊!
> 它只有一组测试数据吧,我就在输出最后放的!下面是我的输出代码:帮忙看一下 thx
>   main()
>   {
>         while(...)
>         {
>          ...
> 	if(count==1)
> 		{
> 			printf("%s",tranto);
> 		}
> 	else
> 		{
> 			printf(" %s",tranto);
> 		}
> 	}
>         printf("\n");
>    }

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