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