Search found 76 matches

by Ali Arman Tamal
Tue Feb 15, 2005 6:41 pm
Forum: Volume 7 (700-799)
Topic: 755 - 487--3279
Replies: 115
Views: 29691

755 [487-3279] Why WA ! :-(

Why OJ gives WA :-? Please help me ...

Code: Select all

CUT AFTER AC
Please Help !
by Ali Arman Tamal
Tue Feb 15, 2005 11:58 am
Forum: Volume 5 (500-599)
Topic: 572 - Oil Deposits
Replies: 39
Views: 16564

572(oil deposit) TRICKY test case for you :-)

INPUT: 12 25 *****************@******* ***************@@*@****** **************@****@***** ************@@******@@*** ***********@**********@** ***********@***********@* *********@@***@*@*****@** *******@@****@*@*@**@@*** ******@*****@*****@@***** *******@**@@************* *******@*@*************** *...
by Ali Arman Tamal
Tue Feb 15, 2005 5:13 am
Forum: Volume 4 (400-499)
Topic: 468 - Key to Success
Replies: 33
Views: 4418

Hello ! :) yiuyuho wrote : This is weird, I submitted 2 versions of code, one treating uppercase and lowercase as different letters, and one treating upper and lower as same letter, but output them according to their case. Both get PE Problem description says: The outputs of two consecutive cases wi...
by Ali Arman Tamal
Mon Feb 07, 2005 12:19 pm
Forum: Volume 3 (300-399)
Topic: 306 - Cipher
Replies: 74
Views: 19123

I am getting WA :cry:

Someone please post some test cases. All the cases I generated were correct, but still WA :(
by Ali Arman Tamal
Mon Feb 07, 2005 5:16 am
Forum: Volume 4 (400-499)
Topic: 459 - Graph Connectivity
Replies: 132
Views: 25878

Ghust_Omega , I owe you one :D !
by Ali Arman Tamal
Mon Feb 07, 2005 4:03 am
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 37376

The previous attempt was buggy. Now I got AC with BFS :D
by Ali Arman Tamal
Sun Feb 06, 2005 5:28 am
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 32607

Nevermind. I got ACC at last :D . I made a mistake in the output statement.

Here are some test cases :

INPUT :

12
1 999999
1 1
1 10
9 12
240320 240350
3 20
204525 505639
200 300
1000 3000
2056 31256
999984 999999
999985 999985


OUTPUT:

30123
0
4
1
0
4
9096
8
133
1364
0
0

HAVE A NICE DAY ! :)
by Ali Arman Tamal
Sat Feb 05, 2005 4:52 pm
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 32607

10533 WA

I am getting WA from the judge :( . But all the samples I've tried home are correct. Please help if you can.

I will really appreciate some test cases.

Here is my code:

Code: Select all


CUT AFTER AC

I've tried a lot and still WA. Please help ! :cry:
by Ali Arman Tamal
Sat Feb 05, 2005 11:16 am
Forum: Volume 101 (10100-10199)
Topic: 10100 - Longest Match
Replies: 95
Views: 21486

10100 WA, confused, Plz Help !!

I am getting WA from the judge, don't know why :cry: The problem description is very unclear, it says: Blank lines and non-letter printable punctuation characters may appear. What do they mead by "non-letter printable punctuation characters". I have only considered A-Z and a-z and 0-9 as characters ...
by Ali Arman Tamal
Sun Jan 30, 2005 8:25 am
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 37376

10000 Why TLE ??

I'm getting TLE :cry: don't know why... Here is my code #include <stdio.h> int a[101][101],parent[101],d[101]; int n,root,casecount=0; void process(int k); void findpath(); int main() { int i,j; while(1) { scanf("%d",&n); if(n==0)break; casecount++; for(i=1;i<=n;i++) { parent[i]=-1; d[i]=0; for(j=1;...
by Ali Arman Tamal
Sat Jan 22, 2005 8:57 am
Forum: Volume 1 (100-199)
Topic: 167 - The Sultan's Successors
Replies: 21
Views: 3849

HINT FOR 167 [Sultan's Successor]

There will be 92 non-attacking combinations. :wink:

You will have to use Backtracking to find them all.


Hope it helps !! :)
by Ali Arman Tamal
Fri Jan 21, 2005 5:52 pm
Forum: Volume 102 (10200-10299)
Topic: 10222 - Decode the Mad man
Replies: 30
Views: 9551

10222

Hello everyone !! :) I've seen a couple of posts about 10222 and some of them are pretty misguiding !! :roll: I've got AC at a single submission :wink: , and allow me to remove all confusion: 1. There is no input like 'q' or 'z' for which you will have to rotate and take ']' or '/'. There will be no...
by Ali Arman Tamal
Fri Jan 21, 2005 11:51 am
Forum: Volume 104 (10400-10499)
Topic: 10420 - List of Conquests
Replies: 68
Views: 26531

Hello Everyone ! :) I think codemaker is wrong. I solved the code without considering any duplicate women name and still got AC. :wink: My output for the codemaker's input is Australia 1 Bangladesh 11 Barma 1 India 2 Since the judge doesn't seem to give any duplicate name, so considering duplicate o...
by Ali Arman Tamal
Thu Jan 20, 2005 6:09 am
Forum: Volume 106 (10600-10699)
Topic: 10608 - Friends
Replies: 75
Views: 27437

Got AC

:D I got Acc.

Thank you Adrian Kuegel, I was so blind :oops: !!!
by Ali Arman Tamal
Mon Jan 17, 2005 7:29 pm
Forum: Volume 106 (10600-10699)
Topic: 10608 - Friends
Replies: 75
Views: 27437

10608

Thanks for your help Sohel. :) But the problem is how should I represent the graph while using BFS of DFS. Both the adjacency matrix and adjacency list representation may lead to a 30000*30000 :o memory requirements as there are 30000 vertexes (30000 people); Thats why I used this method. Give me a ...

Go to advanced search