TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

11
Create 0 1 3
Create 0 0 2
Create 3 -3 1
Move 1 1 1 4
Rotate 2 -2 1
Move 2 -2 5 10
Create 8 8 2
Remove 9 7
Create -10 2 2
Create -7 -1 1
Rotate -13 -1 1

Sample Output 1

-1
7
1
1
8
8
7
7
7
1
-1
         . . . . . . . . . .         
        . . . . . . . . . . .        
       . . . . . . . . . . . .       
      . . . . . . . . . . . . .      
     . . . . . . . . . . . . . .     
    . . . . . . . . . . . . . . .    
   x . . . . . . . . . . . . . . .   
  . x x . . . . . . . . . . . . . .  
 . x x x . x . . . . . . . . . . . . 
. . x x . . . . . . . . . . . . . . .
 . . . x x . . . . . . . . . . . . . 
  . . x x x . . . . . . . . . . . .  
   . . x x . . . . . . . . . . . .   
    . . . . . . . . . . . . . . .    
     . . . . . . . . . . . . . .     
      . . . . . . . . . . . . .      
       . . . . . . . . . . . .       
        . . . . . . . . . . .        
         . . . . . . . . . .         

Hints

Problem Source

Migrated from old NTUJ.

TOPC 2018

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 2000 65536 131072