AUPM-Editorial

ad-hoc
aupm
aust2016
easy
editorial

#1

PROBLEM LINK:

Contest

Author: Rezwanul Islam Maruf

DIFFICULTY:

SIMPLE, EASY.

PREREQUISITES:

PROBLEM:

Given an odd integer n. Need to draw 2 square with the length of n which are nested in center.

QUICK EXPLANATION:

For this problem you just need to know the for loop nothing else. Need to carefully handle the nested part of the square. Complexity is O(n^2).

AUTHOR’S SOLUTIONS:

Author’s solution can be found here.