結果
| 問題 | No.508 超ゆとり教育 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-12 01:23:14 |
| 言語 | Standard ML (MLton 20241230) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 928µs | |
| コード長 | 314 bytes |
| 記録 | |
| コンパイル時間 | 2,833 ms |
| コンパイル使用メモリ | 706,152 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-15 16:32:42 |
| 合計ジャッジ時間 | 3,722 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 |
ソースコード
fun readLargeInt () =
valOf (TextIO.scanStream (LargeInt.scan StringCvt.DEC) TextIO.stdIn)
val () =
let
val n = readLargeInt ()
val ans = Real.toLargeInt IEEEReal.TO_NEAREST (Math.sqrt (Real.fromLargeInt (n div 3))) + 1
in
print (LargeInt.toString ans ^ "\n")
end