F7

This problem has been modified to allow for subtask grading.

Subtask 1 (40%): 3 <= N <= 100

Subtask 2 (60%): No additional constraints

Subtask 3 (0%): Sample Testcases


Time Limit: 1 Seconds
Memory Limit: 256MB
No. of ACs: 85
Your best score: 0
Source: COCI 2012/2013

Subtask Score
1 40
2 60
3 0