結果
| 問題 |
No.1991 Secret Garden
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 19:51:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 94 bytes |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 82,156 KB |
| 実行使用メモリ | 54,072 KB |
| 最終ジャッジ日時 | 2025-06-12 19:51:54 |
| 合計ジャッジ時間 | 1,938 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 22 |
ソースコード
import math N = int(input()) k = (math.isqrt(8 * N + 1) - 1) // 2 print(N - k * (k + 1) // 2)
gew1fw