| ||||||||||
| 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:汗ing--Compile Error--有谁能帮帮忙啊--郁闷ingIn 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator