結果

問題 No.201 yukicoderじゃんけん
ユーザー 👑 yumechiyumechi
提出日時 2015-06-12 02:44:51
言語 Bash
(Bash 5.1.16)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-20 21:00:41
合計ジャッジ時間 1,054 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 WA -
testcase_02 AC 2 ms
4,376 KB
testcase_03 WA -
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,376 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 2 ms
4,380 KB
testcase_10 AC 2 ms
4,376 KB
testcase_11 AC 2 ms
4,376 KB
testcase_12 AC 2 ms
4,376 KB
testcase_13 AC 2 ms
4,380 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 4 ms
4,376 KB
testcase_17 AC 4 ms
4,376 KB
testcase_18 AC 4 ms
4,376 KB
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

read sa pa xa
read sb pb xb
if [ $[pa-pb] = 0 ]
then
	echo -1
else
	if [ $[pa-pb] > 0 ]
	then
		echo $sa
	else
		echo $sb
 	fi
fi
0