Skip to content

Little Shop of Flowers

Unrated
English

Language

Contribute a translation
Time limit
2000 ms
Memory limit
512 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Little Shop of Flowers: original English statement, page 1

Little Shop of Flowers: original English statement, page 2

Examples

Sample input 1
3 5
7 23 -5 -24 16
5 21 -4 10 23
-21 5 -4 -20 20
Sample output 1
53
2 4 5

Tags

No tags yet

Source