結果
問題 |
No.1593 Perfect Distance
|
ユーザー |
|
提出日時 | 2022-04-07 10:18:36 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 101 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,388 KB |
実行使用メモリ | 54,364 KB |
最終ジャッジ日時 | 2024-11-27 23:11:06 |
合計ジャッジ時間 | 2,021 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 5 WA * 12 |
ソースコード
N = int(input()) ans = (N**2 - (N-1)**2)**0.5 if (ans-int(ans)) == 0: print(2) else: print(0)