TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

2 
.................... 
.................... 
.................... 
.................... 
.................... 
.................... 
..xxxxx............. 
..xxxxx............. 
.................... 
.................... 
..xx..........xxx... 
.................... 
..xxxxx.............  
..xxxxx............. 
.................... 
.................... 
.................... 
.................... 
.................... 
.................... 
.................x.. 
.................... 
.................... 
.................... 
..xx................ 
..xx................ 
..xx................ 
..xx................ 
..xx................ 
..xx................ 
.......xxxxxx....... 
.......xxxxxx....... 
.................... 
.................... 
.................... 
.................... 
.................... 
.................... 
.................... 
.................... 

Sample Output 1

Case 1: 13 
Case 2: invalid data

Hints

Problem Source

Migrated from old NTUJ.

2011 ICPC Phuket

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 200