結果
| 問題 |
No.8098 tan 2
|
| コンテスト | |
| ユーザー |
timi
|
| 提出日時 | 2023-03-31 22:25:12 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 248 bytes |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 82,216 KB |
| 実行使用メモリ | 53,872 KB |
| 最終ジャッジ日時 | 2024-09-23 01:11:46 |
| 合計ジャッジ時間 | 1,206 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 5 |
ソースコード
I=int(input())
D={}
E=[]
now=I
while now not in D:
D[now]=1
E.append(now)
now=(now*2)%180
E=sorted(E)
for i in range(len(E)-1):
for j in range(i+1,len(E)):
e=E[j]-E[i]
if e==30 or e==60:
print('No')
exit()
print('Yes')
timi