Submission #14494566


Source Code Expand

Copy
import sys
from math import gcd

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

X = int(readline())

g = gcd(X, 360)
print(360//g)

Submission Info

Submission Time
Task A - Takahashikun, The Strider
User maspy
Language Python (3.8.2)
Score 200
Code Size 199 Byte
Status
Exec Time 31 ms
Memory 9208 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 s1.txt, s2.txt
All 200 / 200 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
01.txt 18 ms 9092 KB
02.txt 24 ms 9092 KB
03.txt 21 ms 9152 KB
04.txt 31 ms 8920 KB
05.txt 22 ms 8920 KB
06.txt 18 ms 9024 KB
07.txt 18 ms 8912 KB
08.txt 23 ms 9208 KB
09.txt 28 ms 9080 KB
s1.txt 16 ms 9092 KB
s2.txt 22 ms 8852 KB