Search found 2 matches

by awinashse
Thu Jan 31, 2013 7:55 am
Forum: Volume 119 (11900-11999)
Topic: 11988 - Broken Keyboard (a.k.a. Beiju Text)
Replies: 27
Views: 9413

Re: 11988 - Broken Keyboard (a.k.a. Beiju Text) TLE

How can I speed up my code.. I am getting TLE for this porblem. :( #include<stdio.h> char input[100000],append[100000],output[100000]; int main() { int ob,i,oi,ai; while(gets(input)) { ob=oi=ai=0; for(i=0;i<strlen(input);i++){ if(input[i]=='[') { ob++; strcat(append,output); strcpy(output,append); m...
by awinashse
Tue Jan 29, 2013 10:33 am
Forum: Volume 104 (10400-10499)
Topic: 10420 - List of Conquests
Replies: 68
Views: 26000

Re: 10420 - List of Conquests

I am continuously getting WA for this easy problem.. I have checked my code and edited it 5 times.. I have read all previous post but still dont know which condition I am loosing.. here is my code :- #include<stdio.h> char line[2000][76]; char word[2000][76]; char diff_women[2000][75]; int count_lin...

Go to advanced search