## Search found 32 matches

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

### 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.
Fri Aug 20, 2010 9:45 pm
Forum: Volume 111 (11100-11199)
Topic: 11163 - Jaguar King
Replies: 17
Views: 10340

### Re: 11163 - Jaguar King

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

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

### 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...
Sun Jan 24, 2010 5:23 pm
Forum: Volume 117 (11700-11799)
Topic: 11762 - Race to 1
Replies: 10
Views: 4203

### 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
Fri Dec 11, 2009 12:59 pm
Forum: Volume 116 (11600-11699)
Topic: 11642 - Bangladesh Premier League
Replies: 0
Views: 2051

### 11642 - Bangladesh Premier League

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

### Re: 11613 - Acme Corporation

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

### 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
``````
Fri Apr 10, 2009 1:23 pm
Forum: Volume 113 (11300-11399)
Topic: 11377 - Airport Setup
Replies: 24
Views: 11908

### Re: 11377 - Airport Setup

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

### Re: 11586 - Train Tracks

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

### Re: 11586 - Train Tracks

So, why this code is getting WA...

Code: Select all

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

### 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....
Thu Jan 08, 2009 12:37 pm
Forum: Volume 109 (10900-10999)
Topic: 10973 - Triangle Counting
Replies: 31
Views: 13375

### 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...
Wed Jan 07, 2009 11:20 am
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 22847

### Re: 11371 - Number Theory for Newbies

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

### Re: 11219 - How old are you?

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

### 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.