I have problem understanding the question 158B-taxi Could someone please help me ?
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 166 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
I have problem understanding the question 158B-taxi Could someone please help me ?
Name |
---|
first, you should privide a link to the problem you asking for.
Problem statement is very clear. Let's suppose children=cube, group of children = glued in one line cubes (at most 4 cubes)/ You have infinite number of boxes. Each box has form of 4 glued in one line cubes. You have to minimize number of boxes. Box can include group of 4, of grpoup of 2 and one more group of 2. All possible configurations are 1+1+1+1, 1+1+2, 1+3, 2+2, 4. Try to ask someone who can speak your language.
Do you have issues with understanding the solution, or understanding the problem description?
you can use greedy technique
Oops why did we put the number 5 size for the "hash" array?
i didn't understand. plz cau u explain more than easier way? and if u tell greedy technique its too much helful for me.
package Practice;
import java.util.Scanner;
public class Main {
}
Hope you will get this.
who wanted this?