Search found 18 matches

by mrmbdctg
Sat Dec 29, 2007 5:22 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 20542

fraustatingly WA or PE Always

Here is my code I always get WA with it #include<stdio.h> #include<string.h> int main() { char temp [101], result[100][101]; int k=0,len=0,tempo,i,m,j; /*freopen("a.out","w",stdout); */ while(gets(temp)) { strcpy(result[k],temp); k++; tempo=strlen(temp); if(tempo>len) len=tempo; } m=0; for(i=0;i<len...
by mrmbdctg
Sat May 19, 2007 5:58 pm
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 39378

I have also wrong answer pls helppppppppppppppppp

#include<stdio.h> #include<string.h> int sum(char alpha[25]); void main() { char name1[25]="\x0",name2[25]="\x0"; while(scanf("%s%s",&name1,&name2)!=EOF) { float ratio=0; int len1, len2; int p=0,q=0; len1=strlen(name1); len2=strlen(name2); if(len1>25 || len2>25) { continue ; } p=sum(name1); q=sum(na...
by mrmbdctg
Sat May 12, 2007 6:59 pm
Forum: Off topic (General chit-chat)
Topic: What is your record of solved problems during one day?
Replies: 18
Views: 68925

Re: What is your record of solved problems during one day?

Leonid wrote:I solved 12 problems one day. Who's better? (:
:lol:
thats great....... I solved 8 in a day

Go to advanced search