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:汗ing--Compile Error--有谁能帮帮忙啊--郁闷ing

Posted by xfxyjwf at 2005-06-07 12:06:24 on Problem 1936
In Reply To:汗ing--Compile Error--有谁能帮帮忙啊--郁闷ing Posted by:ker at 2005-06-07 08:42:48
> #include <stdio.h>
> #include <conio.h>
           ~~~~~~~~~~~~~~~~这个文件,去掉.
> int main()
> {
>     long i,k;
>     char c,a[100001];
>     do
>     {
>         i=0;
>         if ((c=getchar())==EOF) break;
>         do a[++i]=c; while ((c=getchar())!=' ');
>         k=1;
>         while ((c=getchar())!='\n')
>             if (c==a[k]) { k++;if (k==i+1) break; }
>         while (c!='\n') c=getchar();
>         if (k==i+1) printf("Yes\n");
>         else printf("No\n");
>     }while (1);
>     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