Search found 1 match

by fjfj
Fri Nov 26, 2010 11:52 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 51097

Re: 10340 - All in All

why WA???
please help!! :cry: :cry:
#include <stdio.h>
#include <string.h>
char *s1,*s2,s[2000010];
int main()
{
char flag,i,j,l1,l2,k;
while (gets(s)!=NULL)
{
s1=strtok(s," ");
s2=strtok(NULL," ");
l1=strlen(s1);
l2=strlen(s2);
if (l1>l2)
{
printf("No\n");
continue;
}
else if (strstr ...

Go to advanced search