Submission #111768


Source Code Expand

let str = read_line()
in let strlst = Str.split (Str.regexp "") str
in List.map (fun x -> let s = match x with |"a" -> "" | "i" -> "" | "u" -> "" | "e" -> "" | "o" -> "" | _ -> x in Printf.printf "%s" s) strlst;;
print_newline();;

Submission Info

Submission Time
Task B - 罠
User ducktail
Language OCaml (3.12.1)
Score 0
Code Size 235 Byte
Status CE

Compile Error

File "./Main.ml", line 1, characters 0-1:
Error: Error while linking ./Main.cmo:
Reference to undefined global `Str'