Created
April 2, 2019 20:19
-
-
Save autolyticus/870a32152486d2150f0aaa40c7b31e21 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # vim:fenc=utf-8 | |
| # | |
| # Copyright © 2019 g <g@ABCL> | |
| # | |
| # Distributed under terms of the MIT license. | |
| # 10 - 1 | |
| print('YES' if __import__('re').search('[^\w\s]', input()) else 'NO', end='') | |
| # 10 - 2 | |
| print( | |
| 'YES' if [0, 1, 3, 6, 7, 9, 12, 13, 15, 18, 19, 21, 24, 25, 27].count( | |
| (int(input())) % 30) > 0 else 'NO', | |
| end='') | |
| # 10 - 3 | |
| print( | |
| *[round((2 * 50 * float(x) / 30)**0.5) for x in input().split(',')], | |
| sep=',', | |
| end='') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment