Back
Close

It's a starry night...

Statement

 Goal

Output a square of stars with sides sides. One star looks like this:
 /\
< >
\/


Example:
If sides is 2, output:
 /\  /\
< >< >
\/ \/
/\ /\
< >< >
\/ \/
Input
Line 1: An integer sides for the sides of the square.
Output
The square of stars.
Constraints
1 ≤ sides ≤ 10
Example
Input
2
Output
 /\  /\
<  ><  >
 \/  \/
 /\  /\
<  ><  >
 \/  \/

Game modes
Fastest, Shortest, Reverse

Test cases
Example Test
Input
2
Output
/\ /\ < >< > \/ \/ /\ /\ < >< > \/ \/

Validator 1 Validator
Input
3
Output
/\ /\ /\ < >< >< > \/ \/ \/ /\ /\ /\ < >< >< > \/ \/ \/ /\ /\ /\ < >< >< > \/ \/ \/

Not that starry... Test
Input
1
Output
/\ < > \/

Validator 2 Validator
Input
1
Output
/\ < > \/

No, very starry Test
Input
5
Output
/\ /\ /\ /\ /\ < >< >< >< >< > \/ \/ \/ \/ \/ /\ /\ /\ /\ /\ < >< >< >< >< > \/ \/ \/ \/ \/ /\ /\ /\ /\ /\ < >< >< >< >< > \/ \/ \/ \/ \/ /\ /\ /\ /\ /\ < >< >< >< >< > \/ \/ \/ \/ \/ /\ /\ /\ /\ /\ < >< >< >< >< > \/ \/ \/ \/ \/

Validator 3 Validator
Input
4
Output
/\ /\ /\ /\ < >< >< >< > \/ \/ \/ \/ /\ /\ /\ /\ < >< >< >< > \/ \/ \/ \/ /\ /\ /\ /\ < >< >< >< > \/ \/ \/ \/ /\ /\ /\ /\ < >< >< >< > \/ \/ \/ \/

Stars dissapeared. Test
Input
2
Output
/\ /\ < >< > \/ \/ /\ /\ < >< > \/ \/

Validator 4 Validator
Input
1
Output
/\ < > \/

Solution language

Solution

Stub generator input