TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

7
-1 -9 1 9
6 1 1 -6
2 2 6 6
3 6 -2 -4
-6 -2 -1 3
-6 -7 6 7
10 4 10 4

Sample Output 1

new
half
full
new
half
new
full

Sample Input 2

10
-960577638 -621915527 621915527 -960577638
-908624183 371306062 -908624183 371306062
-173999741 -863137243 -863137243 173999742
-811414735 615988003 -811414735 615988003
-920394483 -989725511 -920394483 -989725511
-449755957 503148141 449755957 -503148141
293886964 929048866 -293886965 -929048865
-385725563 653935775 653935775 385725563
488174711 -827297097 488174709 -827297096
-363146704 -375940411 726293408 751880822

Sample Output 2

half
full
neither
full
full
new
neither
half
neither
new

Hints

Problem Source

NPSC 2023 國中組決賽 pA

Subtasks

No. Testdata Range Constraints Score
1 0~1 範例測資 0
2 0~27 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 1048576 1048576 1 2
1 1000 1048576 1048576 1 2
2 1000 1048576 1048576 2
3 1000 1048576 1048576 2
4 1000 1048576 1048576 2
5 1000 1048576 1048576 2
6 1000 1048576 1048576 2
7 1000 1048576 1048576 2
8 1000 1048576 1048576 2
9 1000 1048576 1048576 2
10 1000 1048576 1048576 2
11 1000 1048576 1048576 2
12 1000 1048576 1048576 2
13 1000 1048576 1048576 2
14 1000 1048576 1048576 2
15 1000 1048576 1048576 2
16 1000 1048576 1048576 2
17 1000 1048576 1048576 2
18 1000 1048576 1048576 2
19 1000 1048576 1048576 2
20 1000 1048576 1048576 2
21 1000 1048576 1048576 2
22 1000 1048576 1048576 2
23 1000 1048576 1048576 2
24 1000 1048576 1048576 2
25 1000 1048576 1048576 2
26 1000 1048576 1048576 2
27 1000 1048576 1048576 2