| ||||||||||
| 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 | |||||||||
Re:哪位帮我改为0ms,谢谢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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator