結果
| 問題 | No.2460 #強調# |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-23 02:13:19 |
| 言語 | Standard ML (MLton 20241230) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 541 bytes |
| 記録 | |
| コンパイル時間 | 3,689 ms |
| コンパイル使用メモリ | 705,032 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-03-23 02:13:28 |
| 合計ジャッジ時間 | 4,968 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
fun readStr () =
let
fun scan reader stream = SOME (StringCvt.splitl (not o Char.isSpace) reader (StringCvt.skipWS reader stream))
in
valOf (TextIO.scanStream scan TextIO.stdIn)
end
val () =
let
val s = readStr ()
val dropped = Substring.dropl (fn ch => ch <> #"#") (Substring.full s)
val sliced = Substring.slice (dropped, 1, NONE)
val taked = Substring.takel (fn ch => ch <> #"#") sliced
val ans = Substring.string taked
in
print (ans ^ "\n")
end