Search found 141 matches

by lnr
Sat Jun 12, 2010 3:41 pm
Forum: Volume 9 (900-999)
Topic: 902 - Password Search
Replies: 68
Views: 31446

Re: 902 - Password Search

Now i'm getting wrong answer.
Can anyone post some input output?
by lnr
Wed Jun 02, 2010 3:37 pm
Forum: Volume 115 (11500-11599)
Topic: 11588 - Image Coding
Replies: 4
Views: 3175

Re: 11588-Image Coding

Thanks.

Code: Select all

Accepted.
by lnr
Sun Apr 25, 2010 1:20 pm
Forum: Volume 115 (11500-11599)
Topic: 11588 - Image Coding
Replies: 4
Views: 3175

11588 - Image Coding

ACC
by lnr
Sat Oct 31, 2009 7:04 am
Forum: Volume 110 (11000-11099)
Topic: 11063 - B2-Sequence
Replies: 73
Views: 39242

Re: 11063 - B2-Sequence

Accepted.
by lnr
Fri Sep 11, 2009 10:26 am
Forum: Volume 110 (11000-11099)
Topic: 11057 - Exact Sum
Replies: 50
Views: 20651

Re:

abhi wrote:i have AC in 4.871 s .
i have used a O(n^2) algorithm. is there any linear algorithm for this problem ????
AC in 4.871s.How?
Problems's time limit 1s.
by lnr
Wed Sep 09, 2009 9:05 am
Forum: Volume 113 (11300-11399)
Topic: 11360 - Have Fun with Matrices
Replies: 38
Views: 12478

Re: 11360 - Have Fun with Matrices

pls tell me why wa. its making me crazy :( :( :( #include<stdio.h> #include<ctype.h> #include<string.h> #include<stdlib.h> #define SIZE 55 int test,dim,i,j,st,end,query,store,mat[SIZE][SIZE],option[SIZE][SIZE],cse; char str[SIZE],ch; int main() { // freopen("in.txt","r",stdin); scanf("%d",&test); w...
by lnr
Wed Sep 09, 2009 8:43 am
Forum: Volume 113 (11300-11399)
Topic: 11360 - Have Fun with Matrices
Replies: 38
Views: 12478

Re: 11360 - Have Fun with Matrices

Accepted.
by lnr
Sat Jul 25, 2009 10:19 am
Forum: Volume 2 (200-299)
Topic: 291 - The House Of Santa Claus
Replies: 19
Views: 6727

Re: 291 WA

Output from AC code: 123153452 123154352 123451352 123453152 123513452 123543152 125134532 125135432 125315432 125345132 125431532 125435132 132153452 132154352 132534512 132543512 134512352 134512532 134521532 134523512 134532152 134532512 135123452 135125432 135215432 135234512 135432152 135432512...
by lnr
Thu Jul 23, 2009 10:50 pm
Forum: Volume 114 (11400-11499)
Topic: 11463 - Commandos
Replies: 18
Views: 9943

Re: 11463 - Commandos

I used two bfs.
Tested input output.Still WA.
Can anyone give some critical input output?

Code: Select all

3
4
3
0 1
2 1
1 3
0 3
2
1
0 1
1 0
4
3
0 1
2 1
1 3
0 0
output:

Code: Select all

Case 1: 4
Case 2: 1
Case 3: 4
by lnr
Tue Jul 21, 2009 7:02 pm
Forum: Volume 5 (500-599)
Topic: 558 - Wormholes
Replies: 30
Views: 14485

Re: 558 - Wormholes

Is everyone dead!!??!! please help me!!...... i am filling very bad......... Here is my code: //Autor: Muhammad Rifayat Samee // algorithm: 558(bellman-Ford) #include<cstdio> #include<cstring> #include<cctype> #include<cmath> #include<cstdlib> #include<queue> #include<stack> #include<algorithm> #in...
by lnr
Thu Jul 09, 2009 12:14 am
Forum: Volume 114 (11400-11499)
Topic: 11479 - Is this the easiest problem?
Replies: 48
Views: 16892

Re: 11479 - Is this the Easiest Problem?

Can anyone give some special input output? input: 20 3 6 -1 5 3 5 6 2 9 1 2 7 0 9 3 6 0 6 2 6 1 8 7 9 2 0 2 3 7 5 9 2 2 8 9 7 3 6 1 2 9 3 1 9 4 7 8 4 5 0 3 6 1 0 6 3 2 0 6 1 output: Case 1: Invalid Case 2: Isosceles Case 3: Invalid Case 4: Invalid Case 5: Invalid Case 6: Invalid Case 7: Invalid Case...
by lnr
Wed Jul 08, 2009 3:51 pm
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 26836

Re: 10101 - Bangla Numbers

Accepted.
by lnr
Sun Jun 28, 2009 7:30 am
Forum: Volume 4 (400-499)
Topic: 438 - The Circumference of the Circle
Replies: 29
Views: 9084

Re: 438 - The Circumference of the Circle

Is there any condition for a point to be on the circle?
I am trying to solve this problem using this equation.
x*x+y*y+2*f*x+2*g*y+c=0;
by lnr
Thu Jun 25, 2009 9:23 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 26836

Re: 10101 - Bangla Numbers

Now getting presentation error.
Is there any newline after the last line of output?
And at the end of a line can a space character cause presentation error?
by lnr
Thu Jun 25, 2009 8:29 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 26836

Re: 10101 - Bangla Numbers

Can anyone give some special input output? I tested these. Are they correct? input: 999999999999999 101010101010101 010101010101010 100000000000001 100000000000 output: 1. 9 kuti 99 lakh 99 hajar 9 shata 99 kuti 99 lakh 99 hajar 9 shata 99 2. 1 kuti 1 lakh 1 hajar 10 kuti 10 lakh 10 hajar 1 shata 1 ...

Go to advanced search