TopCoder

User's AC Ratio

100.0% (13/13)

Submission's AC Ratio

87.1% (27/31)

Tags

Description



Input Format

Output Format

Sample Input 1

2
-1 1

Sample Output 1

lose light light

Sample Input 2

8
1 2 1 -1 1 -1 -2 -1

Sample Output 2

weed

Hints

Problem Source

NEOJ Problem 512

Subtasks

No. Testdata Range Constraints Score
1 0~17 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 262144 65536 1
1 1000 262144 65536 1
2 1000 262144 65536 1
3 1000 262144 65536 1
4 1000 262144 65536 1
5 1000 262144 65536 1
6 1000 262144 65536 1
7 1000 262144 65536 1
8 1000 262144 65536 1
9 1000 262144 65536 1
10 1000 262144 65536 1
11 1000 262144 65536 1
12 1000 262144 65536 1
13 1000 262144 65536 1
14 1000 262144 65536 1
15 1000 262144 65536 1
16 1000 262144 65536 1
17 1000 262144 65536 1