結果
| 問題 | No.648 お や す み |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-16 19:31:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 2,000 ms |
| + 658µs | |
| コード長 | 135 bytes |
| 記録 | |
| コンパイル時間 | 583 ms |
| コンパイル使用メモリ | 95,720 KB |
| 実行使用メモリ | 79,360 KB |
| 最終ジャッジ日時 | 2026-07-29 01:51:28 |
| 合計ジャッジ時間 | 8,652 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 84 |
ソースコード
N = int(input())
T = int((N * 2) ** 0.5) * (int((N * 2) ** 0.5) + 1) // 2
print("YES\n" + str(int((N * 2) ** 0.5)) if T == N else "NO")