結果
| 問題 | No.2460 #強調# |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-23 02:13:19 |
| 言語 | Standard ML (MLton 20241230) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 679µs | |
| コード長 | 541 bytes |
| 記録 | |
| コンパイル時間 | 4,876 ms |
| コンパイル使用メモリ | 704,488 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-03 14:35:41 |
| 合計ジャッジ時間 | 6,128 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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