結果

問題 No.293 4>7の世界
ユーザー benben
提出日時 2015-11-19 20:14:50
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 990 ms
コンパイル使用メモリ 18,452 KB
実行使用メモリ 19,028 KB
最終ジャッジ日時 2023-10-11 18:05:01
合計ジャッジ時間 1,424 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
18,820 KB
testcase_01 AC 16 ms
18,852 KB
testcase_02 AC 15 ms
18,748 KB
testcase_03 WA -
testcase_04 AC 15 ms
18,772 KB
testcase_05 WA -
testcase_06 AC 15 ms
18,796 KB
testcase_07 AC 15 ms
18,820 KB
testcase_08 AC 15 ms
18,796 KB
testcase_09 WA -
testcase_10 AC 15 ms
18,852 KB
testcase_11 AC 15 ms
18,828 KB
testcase_12 AC 15 ms
18,736 KB
testcase_13 AC 15 ms
18,824 KB
testcase_14 AC 15 ms
18,852 KB
testcase_15 WA -
testcase_16 AC 15 ms
18,880 KB
testcase_17 AC 15 ms
18,804 KB
testcase_18 AC 15 ms
18,796 KB
testcase_19 AC 15 ms
18,800 KB
testcase_20 AC 15 ms
18,780 KB
testcase_21 AC 16 ms
18,920 KB
testcase_22 AC 15 ms
18,876 KB
testcase_23 AC 15 ms
18,800 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
fscanf(STDIN, "%d %d", $b, $c);


$list = array("4"=>"7", "7"=>"4"); 
$tmp_b = strtr($b, $list);
$tmp_c = strtr($c, $list);

if($tmp_b < $tmp_c) echo $c;
if($tmp_c < $tmp_b) echo $b;

echo "\n";
?>
0