結果

問題 No.400 鏡
ユーザー kagikakko_karikagikakko_kari
提出日時 2016-07-23 15:52:52
言語 PHP
(8.3.4)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 855 ms
コンパイル使用メモリ 31,012 KB
実行使用メモリ 30,860 KB
最終ジャッジ日時 2024-04-24 07:44:48
合計ジャッジ時間 1,194 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
30,812 KB
testcase_01 AC 41 ms
30,692 KB
testcase_02 AC 40 ms
30,792 KB
testcase_03 AC 46 ms
30,676 KB
testcase_04 AC 42 ms
30,752 KB
testcase_05 AC 42 ms
30,664 KB
testcase_06 AC 41 ms
30,808 KB
testcase_07 AC 41 ms
30,816 KB
testcase_08 AC 41 ms
30,744 KB
testcase_09 AC 41 ms
30,456 KB
testcase_10 AC 41 ms
30,860 KB
testcase_11 AC 41 ms
30,556 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$s = str_split(trim(fgets(STDIN)));
$kagami = array_reverse($s);
foreach($kagami as $val){
    if($val == "<"){
        echo ">";
    }else{
        echo "<";
    }
}
?>
0