Skip to content

Stacking Cups

Unrated
English

Language

Contribute a translation
Time limit
2000 ms
Memory limit
2048 MB (no extra memory)
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Stacking Cups, original English page 1

Stacking Cups, original English page 2

Examples

Sample input 1
4 9
Sample output 1
7 3 5 1
Sample input 2
4 100
Sample output 2
impossible

Tags

No tags yet

Source