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 13:27:34
2018-05-26 13:26:13
2018-05-26 13:24:01
2018-05-26 13:08:02
2018-05-26 11:44:20
2018-05-26 11:26:56
2018-05-26 11:21:45
2018-05-26 11:16:26
2018-05-26 11:07:31
2018-05-26 11:06:22
Task:Alien Invasion
Sender:DROP TABLE
Submission time:2018-05-26 13:27:34
Status:READY
Result:ACCEPTED

Show test data

Code

import math

def oddOrEven(i):
	if int(math.sqrt(i))**2 == i:
		return("odd")
	else:
		return("even")


n = int(input())
print(oddOrEven(n))