TopCoder

Thumb mikasa mikoto furikae
Omelet
$\Huge\mathcal A=(Q,\Sigma,\delta:Q\times\Sigma\to Q,s\in Q,F\subseteq Q)$

User's AC Ratio

93.9% (31/33)

Submission's AC Ratio

44.9% (48/107)

Description

Input Format

Output Format

Sample Input

Sample Output

Hints

Problem Source

Problem Set / Description by Paupière
建國中學105學年度北市賽模擬賽pA

Subtasks

No. Testdata Range Score
1 0~2 10
2 3~4 10
3 5~9 10
4 5~14 20
5 0~17 50

Testdata and Limits

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