Codeforces 1106A Lunar New Year and Cross Counting


Problem link

The solution is simple: Just check if crosses can appear in every positions. Two nesting for-loops will be enough to solve this problem.
Time complexity: 

A solution in c++






Post a Comment

0 Comments