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
FastestShortestReverse

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
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
Online Participants