結果

問題 No.676 C0nvertPr0b1em
ユーザー dyechi
提出日時 2019-03-28 17:24:17
言語 PHP
(843.2)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 1,218 ms
コンパイル使用メモリ 31,092 KB
実行使用メモリ 31,300 KB
最終ジャッジ日時 2024-10-13 07:15:54
合計ジャッジ時間 3,667 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$s = trim(fgets(STDIN));

$upper_letter = array("I", "l");
$lower_letter = array("O", "o");

$s = str_replace($upper_letter, 1, $s);
$s = str_replace($lower_letter, 0, $s);
echo $s.PHP_EOL;
?>
0