Search found 8 matches

by ashikzinnatkhan
Sun Nov 19, 2006 9:58 am
Forum: Volume 105 (10500-10599)
Topic: 10589 - Area
Replies: 48
Views: 18241

Hi, I am really bored with this problem. I have read all the posts and my code also gives correct output (i think!!!:oops: ). But it is producing WA again and again and again......... Can anyone help me finding my mistake, please. My code is: #include <stdio.h> #include <string.h> //typedef __int64 ...
by ashikzinnatkhan
Tue Nov 14, 2006 5:44 pm
Forum: Volume 105 (10500-10599)
Topic: 10525 - New to Bangladesh?
Replies: 50
Views: 20007

Thanks a lot.
I got AC.

Actually it was a silly mistake by me.
I have tried with this aproach earlier. But then I made a mistake in array indexing. So I thought my idea was wrong and all the roads shld be just overwritten.

Thanks a lot again.
by ashikzinnatkhan
Mon Nov 13, 2006 7:12 pm
Forum: Volume 105 (10500-10599)
Topic: 10525 - New to Bangladesh?
Replies: 50
Views: 20007

My code gives correct output for all the sample inputs found in the forum.
But I am still getting WA. I can't find what is wrong :oops:.
Can anyone help me? Please!!!!!!!!!

My code is:

Code: Select all

ACed
by ashikzinnatkhan
Sun Jul 23, 2006 5:32 pm
Forum: Volume 110 (11000-11099)
Topic: 11054 - Wine trading in Gergovia
Replies: 25
Views: 6734

Hi,
I am getting TLE.
Can any one help me?


--Thanks in Advance.
by ashikzinnatkhan
Thu Jan 26, 2006 5:44 pm
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17397

10008 What's Cryptanalysis , Why WA???

My code is: #include <stdio.h> #include <ctype.h> int letter[26][2] , temp0 , temp1 ; void main() { char ch ; long i , j , newline = 0 , totalnum = 0 , finished = 0 ; scanf("%ld", &totalnum); fflush(stdin); newline = 0; finished = 0; for(i=0 ; i<26 ; i++) { letter [0] = i+65 ; letter [1] = 0 ; } whi...
by ashikzinnatkhan
Wed Jan 25, 2006 6:45 pm
Forum: Volume 103 (10300-10399)
Topic: 10361 - Automatic Poetry
Replies: 25
Views: 12493

10361 Automatic poetry , PE , help

My code is: #include <stdio.h> #include <string.h> void main() { char s1[110] , s2[110] , s3[110] , s4[110] , s5[110] , c1[200] , c2[200] , l2[200] , ch , temp[2] ; long i , totalpair = 0 ; scanf("%ld" , &totalpair); for( i = 0 ; i < totalpair ; i++ ) { strcpy(s1 , "\0"); strcpy(s2 , "\0"); strcpy(s...
by ashikzinnatkhan
Wed Jan 25, 2006 6:41 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 36710

10062, Tell me the frequencies, PE, please help

Here is my code: #include <stdio.h> void main() { unsigned char ch ; int i , j , start = 0; int ascii[96][2] , temp0 , temp1 ; for(i=0 ; i<96 ; i++) { ascii [0] = i+32 ; ascii [1] = 0 ; } while( (char) ( ch = getchar() ) != EOF ) { if((ch == '\n') || (ch == '\r')) start=1; i = ch; ascii[i-32][1]++ ;...
by ashikzinnatkhan
Wed Jan 25, 2006 6:37 pm
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 39229

10424 love calculator , WA , please help me

Here is my code: #include <stdio.h> char name1[30] , name2[30] ; void main() { char letter[26] = { 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , 'x' , 'y' , 'z' }; int sum1 , sum2 , i , j , temp[3] , temp2; f...

Go to advanced search