Search found 2 matches

by douzi0108
Sun Oct 01, 2006 7:38 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 30315

i dununderstand why this input for 120 will be this output

hi ppl,

below is the input and output.

Input:

1 2 3 1 2
2 3 1
2 3 4 1 8 9 6 7
2 3 4 1 8 9 6 7 0
5 1 3 6 4 1 9 2 0 18 29

Output:
1 1 2 2 3
3 1 3 0
1 2 3
2 1 0
1 2 3 4 6 7 8 9
6 3 1 3 0
0 1 2 3 4 6 7 8 9
7 4 2 4 2 1 0
0 1 1 2 3 4 5 6 9 18 29
9 5 9 6 8 3 8 6 9 0


for the first 5 input, i can see ...
by douzi0108
Sun Oct 01, 2006 7:29 pm
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 45254

i have 10004 WA and i really dunno how to do it

hi, i really need help. i've checked my program against some test cases and they're rite. but when i submit, i get WA! i really dunno how to further debug cus i dun even know wats the mistake.


import java.io.*;
import java.util.*;

class Main {
// flag used to check for non-bicolorable.
// 1 ...

Go to advanced search