結果

問題 No.400 鏡
ユーザー kagikakko_karikagikakko_kari
提出日時 2016-07-23 15:52:52
言語 PHP
(8.2.11)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 750 ms
コンパイル使用メモリ 18,440 KB
実行使用メモリ 18,952 KB
最終ジャッジ日時 2023-08-06 11:55:30
合計ジャッジ時間 1,553 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
18,808 KB
testcase_01 AC 16 ms
18,820 KB
testcase_02 AC 16 ms
18,840 KB
testcase_03 AC 16 ms
18,952 KB
testcase_04 AC 16 ms
18,840 KB
testcase_05 AC 17 ms
18,948 KB
testcase_06 AC 16 ms
18,864 KB
testcase_07 AC 16 ms
18,848 KB
testcase_08 AC 16 ms
18,876 KB
testcase_09 AC 15 ms
18,864 KB
testcase_10 AC 16 ms
18,740 KB
testcase_11 AC 16 ms
18,876 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