Search found 20 matches
- Thu Jan 03, 2013 12:18 am
- Forum: Volume 1 (100-199)
- Topic: 151 - Power Crisis
- Replies: 56
- Views: 11653
Re: WA on 151
got it, thanks
- Thu Jan 03, 2013 12:10 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45109
Re: Presentation error on 160
oh, got it, thanks a lot
- Sun Dec 23, 2012 9:01 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45109
Presentation error on 160
The code was removed after getting AC
- Sat Dec 22, 2012 4:59 am
- Forum: Volume 1 (100-199)
- Topic: 151 - Power Crisis
- Replies: 56
- Views: 11653
WA on 151
hi
I checked all cases from 13 to 99, all ouput are as same as http://uvatoolkit.com/problemssolve.php, while i got WA. please help !!
Attached my code:
I checked all cases from 13 to 99, all ouput are as same as http://uvatoolkit.com/problemssolve.php, while i got WA. please help !!
Attached my code:
Code: Select all
the code was removed after getting AC
- Wed Dec 19, 2012 3:12 am
- Forum: Volume 1 (100-199)
- Topic: 142 - Mouse Clicks
- Replies: 58
- Views: 11636
Re: Runtime error on 142
got it? thanks
- Tue Dec 18, 2012 4:28 am
- Forum: Volume 1 (100-199)
- Topic: 142 - Mouse Clicks
- Replies: 58
- Views: 11636
Runtime error on 142
Got AC now
- Fri Dec 14, 2012 2:07 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 26910
Re: WA in 143
thanks.
- Thu Dec 13, 2012 3:46 am
- Forum: Volume 1 (100-199)
- Topic: 143 - Orchard Trees
- Replies: 90
- Views: 26910
WA in 143
got AC now
- Wed Nov 21, 2012 4:19 am
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37193
Re: WA on #104
Yes, you are right, it's 4 transaction.
I have got AC with Floyd Marshall algorithm. Anyone can help to see the following straight-forward approach.
package com.uva.ArbitrageN104;
import java.io.BufferedInputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util ...
I have got AC with Floyd Marshall algorithm. Anyone can help to see the following straight-forward approach.
package com.uva.ArbitrageN104;
import java.io.BufferedInputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util ...
- Wed Nov 21, 2012 4:11 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50218
Re: help about WA on #103
thanks
i have found the issue and get AC, it's in "output part"
import java.io.BufferedInputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Scanner;
class Main
{
/*
* Time O( rows* rows*cols ) Space O( )
*/
public void stackBoxes(int ...
i have found the issue and get AC, it's in "output part"
import java.io.BufferedInputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Scanner;
class Main
{
/*
* Time O( rows* rows*cols ) Space O( )
*/
public void stackBoxes(int ...
- Mon Nov 19, 2012 7:41 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50218
Re: help about WA on #103
i have fix this issue.
- Sun Nov 18, 2012 8:39 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50218
Re: help about WA on #103
in my code, i don't think box D = (2,6) nests in the box E = (3,6).
- Sun Nov 18, 2012 8:32 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50218
help about WA on #103
import java.io.BufferedInputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Scanner;
import java.util.Stack;
class Main
{
/*
* Time O( ) Space O( )
*/
public void stackBoxes(int[][] boxes, int rows) {
//init
HashMap<int[], Integer ...
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Scanner;
import java.util.Stack;
class Main
{
/*
* Time O( ) Space O( )
*/
public void stackBoxes(int[][] boxes, int rows) {
//init
HashMap<int[], Integer ...
- Sat Nov 17, 2012 7:21 am
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37193
Re: WA on #104
From the requirement: If no profiting sequence of n or fewer transactions exists, then the line "no arbitrage sequence exists" should be printed.brianfry713 wrote:Input:AC output:Code: Select all
4 1 0 0 1.005 0 0 0 0 0 0 0 0
Code: Select all
1 2 1 2 1
so here it should print "no arbitrage sequence exists", am i right ?
- Fri Nov 16, 2012 12:11 am
- Forum: Volume 1 (100-199)
- Topic: 105 - The Skyline Problem
- Replies: 160
- Views: 51252
Re: help on #105
thank you very much
it's ok after correct one line to.
if( (RESULT_X.get(xIndexRight) < rn && RESULT_Y.get(xIndexRight) >= hn) || ( RESULT_X.get(xIndexRight) == rn && RESULT_Y.get(xIndexRight - 1) >= hn ) )
it's ok after correct one line to.
if( (RESULT_X.get(xIndexRight) < rn && RESULT_Y.get(xIndexRight) >= hn) || ( RESULT_X.get(xIndexRight) == rn && RESULT_Y.get(xIndexRight - 1) >= hn ) )