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:哪位帮我改为0ms,谢谢

Posted by 09031036 at 2010-11-05 19:55:50 on Problem 1488
In Reply To:哪位帮我改为0ms,谢谢 Posted by:TaT at 2010-08-15 19:12:47
> #include<stdio.h>
> #include<stdlib.h>
> int main()
> {
> 		char c;
> 		int q=1;
>     	while((c=getchar())!=EOF)
> 		{
> 		 if(c=='"')
> 		 {
> 		  printf("%s",q?"``":"''");
> 			q=!q;
> 		 }else
> 			printf("%c",c);
> 		}
> 	
> 		return 0;
> }

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