-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8edd4c4
commit 8f0293a
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## FashionabLee | ||
##### Link: http://codeforces.com/problemset/problem/1369/A | ||
|
||
Lee *thinks* a regular n-sided (convex) polygon is beautiful **if and only if** he can rotate it in such a way that **at least** one of its edges is parallel to the OX-axis and at least one of its edges is parallel to the OY-axis at the same time.<br/> | ||
Recall that a regular n-sided polygon is a convex polygon with n vertices such that all the edges and angles are equal.<br/> | ||
Now he is shopping: the market has t regular polygons. For each of them print YES if it is beautiful and NO otherwise.<br/> | ||
|
||
**Input** : The first line contains a single integer t (1 ≤ t ≤ 10^4) — the number of polygons in the market.<br/> | ||
**Output** : For each polygon, print YES if it's beautiful or NO otherwise (case insensitive). |