## Search found 8 matches

Sun May 22, 2005 10:32 am
Forum: Volume 5 (500-599)
Topic: 584 - Bowling
Replies: 10
Views: 6056
One strike in the last roll (roll 10) duplicates points in the bonus roll (roll 11 and 12)? Or the points of the bonus roll are calculated separate?

One strike or spare in the bonus roll (11) duplicates points in the bonus roll (12)?

thx
Sun Apr 24, 2005 7:15 am
Forum: Volume 5 (500-599)
Topic: 584 - Bowling
Replies: 10
Views: 6056

### me too

I dont know why i am getting WA... somebody have inputs/outputs to broke my code? here, my code.. in JAVA import java.util.StringTokenizer; class Main { public static void main(String[] args) { StringBuffer sb = new StringBuffer(); boolean pula = false; String input = readLn(); while(!input.equals("...
Tue Apr 19, 2005 6:11 am
Forum: Volume 3 (300-399)
Topic: 370 - Bingo
Replies: 8
Views: 4354

### Some in/out examples

My AC Code generate this: IN 1 2 3 4 5 11 12 13 14 15 21 22 0 24 25 31 32 33 34 35 91 92 93 94 95 21 22 24 25 99 0 1 2 3 4 5 11 12 13 14 15 21 22 0 24 25 31 32 33 34 35 91 92 93 94 95 99 98 97 96 0 1 2 3 4 5 11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 91 92 93 94 95 1 12 34 95 5 14 32 23 91 0 1 2 3...
Wed Dec 01, 2004 8:44 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33663
thanks Guys, now I got AC !!! :lol: I stored all numbers in a int array: 10! = [1,2,3,4,5,6,7,8,9,10] 5! = [1,2,3,4,5] I used this algorithm: 10! / 5! [java] for(i = 0; i < 10; i++) for(j = 0; j < 5; j++) if( array1 % array2[j] == 0) array1 /= array2[j]; array2[j] = 1; [/java] :lol: :) :D :P :wink:
Mon Nov 29, 2004 11:10 am
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33663

### 530 Binomial Showdown

I dont know why my code is wrong, anybody has special test cases ? [java] //Problem 530 import java.util.*; class Main { public static void main(String[] args) { String input = readLn(); while(input != null && !input.equals("0 0")) { StringTokenizer st = new StringTokenizer(input); int n = Integer.p...
Mon Nov 29, 2004 7:45 am
Forum: Volume 4 (400-499)
Topic: 460 - Overlapping Rectangles
Replies: 25
Views: 2564
Oh, thanks Guys, now I got AC !!!

Sun Nov 28, 2004 9:40 pm
Forum: Volume 4 (400-499)
Topic: 460 - Overlapping Rectangles
Replies: 25
Views: 2564
but problem text says: "Note that two windows that share a common edge but have no other points in common are considered to have ``No Overlap"."

in your test case, there are more than one common points: 10,5 10,6 10,7 10,8 10,9 10,10

my program output 10 5 10 10

Sun Nov 28, 2004 9:33 am
Forum: Volume 4 (400-499)
Topic: 460 - Overlapping Rectangles
Replies: 25
Views: 2564

### 460 - Overlapping Rectangles

What's wrong with my code? I got WA many times!!! Somebody has input test cases?

[java]
//Problem 460
//Code removed because author got AC !!!
[/java]

thx