A higher resolution is required to access the IDE
- 99
Statement
Goal
Your program must output a minified version of a CodinGame script formatted as CGS.To do so, except for names between apostrophes (
In addition, variables written between two (
Input
Line 1: The number N of CGS lines to be minified.
The N following lines: The CGS content.
The N following lines: The CGS content.
Output
Line 1: The minified CGS content.
Constraints
0 < N < 10
0 ≤ number of variables in CGS content < 10
0 ≤ number of variables in CGS content < 10
Example
Input
4
(
$hello$ = 'hello';
print $hello$;
)
Output
($a$='hello';print$a$;)
A higher resolution is required to access the IDE