Skip to content

Boxes with souvenirs

UnratedFunction
English

Language

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

Statement

Boxes with souvenirs: original English statement, page 1

Boxes with souvenirs: original English statement, page 2

Boxes with souvenirs: original English statement, page 3

Examples

Sample input 1
3 2 8
1 2 5
Sample output 1
10

Tags

No tags yet

Source

This problem accepts only these languages.

C++20