Skip to content

Instantly share code, notes, and snippets.

@racterub
Last active October 7, 2018 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save racterub/8990a28296e56e2f50cffc9630d06baa to your computer and use it in GitHub Desktop.
Save racterub/8990a28296e56e2f50cffc9630d06baa to your computer and use it in GitHub Desktop.
#OJ: https://oj.nctu.me/problems/1/
#---------- CODE:
count = input()
data = []
for i in range(int(count)):
data.append(input().strip())
#問題在這
for i in range(int(count)):
if (int(data[i])*50*120) <= 90000:
print("KFCCA")
else:
print("PCCA")
#-----------
'''
for i in data:
int(i)*50*120
-> WA
for i in range(len(data)):
int(data[i])*50*120
-> AC
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment