TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

4
#define SQUARE(x) (((x) * ((x))))
#define PLUS_TWO(x) ((x) + (x))
#define ADD_THREE_TIMES(x) (x + (x + x))
#define CANNOT_REMOVE(x) ((x) * (x + x))

Sample Output 1

2
2
1
0

Hints

Problem Source

NPSC 2011 高中組初賽 pD

Subtasks

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

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 5000 1048576 1048576 1 2
1 5000 1048576 1048576 2