結果

問題 No.676 C0nvertPr0b1em
ユーザー taktak
提出日時 2018-05-11 00:25:07
言語 F#
(F# 4.0)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 4,632 ms
コンパイル使用メモリ 154,356 KB
実行使用メモリ 26,780 KB
最終ジャッジ日時 2023-09-05 17:15:01
合計ジャッジ時間 7,517 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
20,528 KB
testcase_01 AC 73 ms
22,640 KB
testcase_02 AC 72 ms
22,668 KB
testcase_03 AC 72 ms
22,596 KB
testcase_04 AC 73 ms
22,628 KB
testcase_05 AC 72 ms
22,688 KB
testcase_06 AC 73 ms
22,740 KB
testcase_07 AC 72 ms
22,576 KB
testcase_08 AC 73 ms
24,612 KB
testcase_09 AC 73 ms
24,656 KB
testcase_10 AC 72 ms
22,616 KB
testcase_11 AC 72 ms
22,748 KB
testcase_12 AC 73 ms
24,620 KB
testcase_13 AC 73 ms
24,652 KB
testcase_14 AC 73 ms
22,752 KB
testcase_15 AC 74 ms
26,780 KB
testcase_16 AC 74 ms
24,608 KB
testcase_17 AC 73 ms
22,516 KB
testcase_18 AC 73 ms
22,688 KB
testcase_19 AC 73 ms
24,736 KB
testcase_20 AC 74 ms
22,632 KB
testcase_21 AC 72 ms
22,500 KB
testcase_22 AC 74 ms
24,624 KB
testcase_23 AC 73 ms
22,780 KB
testcase_24 AC 72 ms
22,568 KB
testcase_25 AC 74 ms
22,684 KB
testcase_26 AC 75 ms
22,768 KB
testcase_27 AC 73 ms
22,688 KB
testcase_28 AC 73 ms
22,688 KB
testcase_29 AC 75 ms
22,660 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let converter = function
    | 'I' | 'l' -> '1'
    | 'O' | 'o' -> '0'
    | x -> x
    
let S = stdin.ReadLine()

S.ToCharArray()
|> Array.map converter
|> fun arr -> new System.String (arr)
|> printf "%s"
0