Search found 32 matches

by shiplu_1320
Tue Jun 21, 2011 8:51 pm
Forum: Volume 118 (11800-11899)
Topic: 11811 - Hello, Mafia
Replies: 0
Views: 1610

11811 - Hello, Mafia

I have submitted solution of this problem 4 - 5 times, and every time it gives verdict "Sent to judge". After 1 - 2 hour the verdict becomes blank.
Is the judge data are there or any other problem for this problem.

Hopes administrators of UVA online judge will look after it.
by shiplu_1320
Fri Aug 20, 2010 9:45 pm
Forum: Volume 111 (11100-11199)
Topic: 11163 - Jaguar King
Replies: 17
Views: 10081

Re: 11163 - Jaguar King

I am getting WA.
Please someone give the answers of these test case , stated above.

Thanx in advance.:)

Edit: ACCEPTED.
by shiplu_1320
Sun Jan 24, 2010 8:44 pm
Forum: Volume 117 (11700-11799)
Topic: 11762 - Race to 1
Replies: 10
Views: 4050

Re: 11770-(Race to 1)WA

You have 4 primes in hand 2 , 3 , 5 , 7 and you are to divide 10 by one of them, but you don't know by which one, you have to choose one of them randomly, if you fail to get the correct one, you have wasted one move and you will choose another one randomly. If you choose 2, then number of moves will...
by shiplu_1320
Sun Jan 24, 2010 5:23 pm
Forum: Volume 117 (11700-11799)
Topic: 11762 - Race to 1
Replies: 10
Views: 4050

Re: 11770-(Race to 1)WA

If I am not wrong, you are not calculating expected value.
suppose n = 10,
so primes smaller than 10 are 2,3,5,7
so probability of choosing one of these number to divide 10 is 1 / 4.

so E(10) = 1/4 ( E(10) (10 is not divisible by 7) + E(10 / 5 ) + E(10) + E(10 / 2) ) + 1
by shiplu_1320
Fri Dec 11, 2009 12:59 pm
Forum: Volume 116 (11600-11699)
Topic: 11642 - Bangladesh Premier League
Replies: 0
Views: 2018

11642 - Bangladesh Premier League

Need some test cases. :D
by shiplu_1320
Fri Oct 02, 2009 9:26 pm
Forum: Volume 116 (11600-11699)
Topic: 11613 - Acme Corporation
Replies: 5
Views: 1873

Re: 11613 - Acme Corporation

Need some input output.
by shiplu_1320
Sat Apr 11, 2009 2:22 pm
Forum: Volume 116 (11600-11699)
Topic: 11601 - Avoiding Overlaps
Replies: 11
Views: 4557

Re: 11601 WA

try this,
input:

Code: Select all

1
2
0 0 1 1
0 0 1 1
output:

Code: Select all

Case 1: 1
by shiplu_1320
Fri Apr 10, 2009 1:23 pm
Forum: Volume 113 (11300-11399)
Topic: 11377 - Airport Setup
Replies: 24
Views: 11565

Re: 11377 - Airport Setup

when x==y output will always be 0.
by shiplu_1320
Wed Mar 04, 2009 3:17 pm
Forum: Volume 115 (11500-11599)
Topic: 11586 - Train Tracks
Replies: 14
Views: 8111

Re: 11586 - Train Tracks

ops! :oops: , Sorry for disturb :oops: :oops: :oops:
by shiplu_1320
Wed Mar 04, 2009 12:07 pm
Forum: Volume 115 (11500-11599)
Topic: 11586 - Train Tracks
Replies: 14
Views: 8111

Re: 11586 - Train Tracks

So, why this code is getting WA...

Code: Select all

Removed after AC
by shiplu_1320
Tue Mar 03, 2009 11:31 pm
Forum: Volume 115 (11500-11599)
Topic: 11586 - Train Tracks
Replies: 14
Views: 8111

11586 - Train Tracks

if no of pieces> 1 and no of MM == no of FF then there is a loop,
otherwise no loop.

someone give a counterexample.
waiting....
by shiplu_1320
Thu Jan 08, 2009 12:37 pm
Forum: Volume 109 (10900-10999)
Topic: 10973 - Triangle Counting
Replies: 31
Views: 12782

Re: 10973 - Triangle Counting

i'm getting WA!!! :oops: need some critical test cases........ #include<stdio.h> #include<math.h> #include<ctype.h> #include<vector> #include<string> #include<queue> #include<stack> #include<map> #include<set> #include<algorithm> #include<sstream> #include<iostream> using namespace std; #define VI v...
by shiplu_1320
Wed Jan 07, 2009 11:20 am
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 21922

Re: 11371 - Number Theory for Newbies

use long long :)
by shiplu_1320
Wed Jan 07, 2009 11:12 am
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 32776

Re: 11219 - How old are you?

You are not printing newline in the output properly. check out it .........
Good luck :)
by shiplu_1320
Thu Jan 01, 2009 1:21 pm
Forum: Volume 105 (10500-10599)
Topic: 10591 - Happy Number
Replies: 61
Views: 20341

Re: 10591 - Happy Number

You should get RTE not WA because of this

Code: Select all

int arr[2000];
............
..........
if(arr[n]==1)
...............
where n can be much bigger than 2000.

Go to advanced search