結果
問題 | No.3098 tan 2 |
ユーザー | 👑 timi |
提出日時 | 2023-03-31 22:25:12 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 248 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 81,608 KB |
実行使用メモリ | 53,400 KB |
最終ジャッジ日時 | 2023-10-24 08:31:41 |
合計ジャッジ時間 | 1,438 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 37 ms
53,400 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 37 ms
53,400 KB |
testcase_04 | WA | - |
testcase_05 | AC | 38 ms
53,400 KB |
testcase_06 | WA | - |
testcase_07 | AC | 37 ms
53,400 KB |
testcase_08 | AC | 37 ms
53,400 KB |
testcase_09 | AC | 37 ms
53,400 KB |
testcase_10 | WA | - |
testcase_11 | AC | 37 ms
53,400 KB |
ソースコード
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')