Search found 78 matches

by raj
Fri Sep 20, 2013 5:48 pm
Forum: Volume 116 (11600-11699)
Topic: 11614 - Etruscan Warriors Never Play Chess
Replies: 13
Views: 4544

Re: 11614

Code: Select all

removed
by raj
Thu Sep 19, 2013 9:13 pm
Forum: Volume 116 (11600-11699)
Topic: 11614 - Etruscan Warriors Never Play Chess
Replies: 13
Views: 4544

Re: 11614

Code: Select all

Accepted
and Thanks Brianfry:)
by raj
Sat Sep 14, 2013 10:50 pm
Forum: Volume 105 (10500-10599)
Topic: 10523 - Very Easy !!!
Replies: 63
Views: 22654

Re: 10523 - Very Easy

Message to those who are trouble in this problem
You dont have to use DP here!!!
There is straightforward summation formula for this problem(book coreman summation chapter) for A != 1
and if A = 1 then the formula will be (N(N+1)/2) ...
I suggest to use java BigInteger.....
by raj
Thu Sep 12, 2013 12:10 am
Forum: Volume 108 (10800-10899)
Topic: 10819 - Trouble of 13-Dots
Replies: 67
Views: 36360

Re: 10819 - Trouble of 13-Dots

Need help i am getting ""WRONG ANSWER"" import java.io.*; import java.util.*; public class Main{ public static void main(String[] args)throws IOException { // TODO Auto-generated method stub BufferedReader k = new BufferedReader(new InputStreamReader(System.in)); //BufferedReader k = new BufferedRea...
by raj
Mon Sep 02, 2013 7:16 am
Forum: Volume 108 (10800-10899)
Topic: 10819 - Trouble of 13-Dots
Replies: 67
Views: 36360

Re: 10819 - Trouble of 13-Dots

Need Help!!!!!!!!!! facing ""Run Time Error""...............

Code: Select all

removed
by raj
Thu Aug 29, 2013 8:19 am
Forum: Volume 7 (700-799)
Topic: 793 - Network Connections
Replies: 102
Views: 31041

Re: 793 - Network Connections

Need Help I dont know Why its """Run Time Error""" :( :( :( import java.io.*; import java.util.*; class UnionFind{ int [] rank; int [] Parent; public UnionFind(int size){ rank = new int[size]; Parent = new int[size]; for(int i = 0;i<Parent.length;i++){ Parent[i] = i; } } public void MergeSets(int x,...
by raj
Thu Aug 22, 2013 8:47 am
Forum: Volume 119 (11900-11999)
Topic: 11988 - Broken Keyboard (a.k.a. Beiju Text)
Replies: 27
Views: 9416

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

Need Help .... :( :( I am getting TLE
and i also know the idea that in c++ i could do it easily by using Iteraor.begin() and Iterator.end() method... if i want to do this kind of activity in java what the way can i do???

Code: Select all

ACCEPTED

by raj
Fri Aug 09, 2013 3:50 pm
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 43543

Re: 11340 - Newspaper

Need Help I have no idea why i am getting Time Limit Exceed... :( :( :( import java.io.*; import java.util.*; public class Main{ public static void main(String[] args)throws IOException { BufferedReader k = new BufferedReader(new InputStreamReader(System.in)); //BufferedReader k = new BufferedReader...
by raj
Thu Mar 28, 2013 10:37 pm
Forum: Volume 103 (10300-10399)
Topic: 10363 - Tic Tac Toe
Replies: 54
Views: 24376

Re: 10363 - Tic Tac Toe

ohh thanks sir.... :@brainfry... :D
by raj
Thu Mar 28, 2013 8:58 am
Forum: Volume 103 (10300-10399)
Topic: 10363 - Tic Tac Toe
Replies: 54
Views: 24376

Re: 10363 - Tic Tac Toe

how become this a valid tic tac game?????

1
XXX
XOO
XOO

why this case indicates "yes" as we see x wins 2 time how this is possible...??????
by raj
Tue Mar 26, 2013 5:40 pm
Forum: Volume 111 (11100-11199)
Topic: 11152 - Colourful Flowers
Replies: 45
Views: 21905

Re: 11152 - Colorful Flowers

help............. :( why Wrong Answer... import java.io.*; import java.util.*; public class Main{ public static void main(String [] args)throws IOException{ BufferedReader k = new BufferedReader(new InputStreamReader(System.in)); PrintWriter z = new PrintWriter(System.out); String line; double PI = ...
by raj
Fri Mar 22, 2013 9:28 pm
Forum: Volume 119 (11900-11999)
Topic: 11995 - I Can Guess the Data Structure!
Replies: 60
Views: 7012

Re: 11995 - I Can Guess the Data Structure!

why wrong answer :( please help me anyone... import java.io.*; import java.util.*; public class Main{ public static void main(String [] args)throws IOException{ BufferedReader k = new BufferedReader(new InputStreamReader(System.in)); PrintWriter z = new PrintWriter(System.out); String line; while((l...
by raj
Tue Mar 19, 2013 3:03 am
Forum: Volume 113 (11300-11399)
Topic: 11388 - GCD LCM
Replies: 18
Views: 10183

Re: 11388 - GCD LCM

Can anyone please explain me how can i know that a is minimized or not... :( :(

""output the pair for which a is minimized. In case there is no such pair, output -1.""

what does this sentence means?? :(
by raj
Sat Mar 09, 2013 1:29 am
Forum: Volume 100 (10000-10099)
Topic: 10041 - Vito's Family
Replies: 90
Views: 29826

Re: 10041 - Vito's Family

sorry sir... :)
median works all the time.... :D
i saw a previous post the i think median doesnt work...........
now its accepted... thanks :)

Go to advanced search