結果
| 問題 | No.648 お や す み |
| コンテスト | |
| ユーザー |
EMVCdaAPbUU2pbm
|
| 提出日時 | 2018-08-19 11:13:04 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 131 bytes |
| 記録 | |
| コンパイル時間 | 552 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-05-10 19:35:25 |
| 合計ジャッジ時間 | 11,645 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 80 WA * 4 |
ソースコード
import math
n=int(input())
tmp=(math.sqrt(1+8*n)-1)/2
if int(tmp)==tmp:
print('YES')
print(int(tmp))
else:
print('NO')
EMVCdaAPbUU2pbm