Code Submission Evaluation System Login

CSES - HIIT Open 2018

HIIT Open 2018

Contest start:2018-05-26 11:00:00
Contest end:2018-05-26 16:00:00

Task list | Submit code | Submissions | Messages | Scoreboard | Statistics


History
2018-05-26 11:27:57
Task:Alien Invasion
Sender:TreamDeam
Submission time:2018-05-26 11:27:57
Status:READY
Result:ACCEPTED

Show test data

Code

import math
n = int(input())

s = math.sqrt(n)
s = math.floor(s + 0.000000000000001)

if s*s == n:
 print('odd')
else:
 print('even')