結果

問題 No.374 コイン
ユーザー simansiman
提出日時 2020-10-02 17:55:03
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 71 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 11,520 KB
実行使用メモリ 15,380 KB
最終ジャッジ日時 2023-09-22 23:06:31
合計ジャッジ時間 4,374 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,224 KB
testcase_01 AC 79 ms
15,140 KB
testcase_02 WA -
testcase_03 AC 79 ms
15,176 KB
testcase_04 AC 80 ms
15,108 KB
testcase_05 AC 80 ms
15,240 KB
testcase_06 AC 79 ms
15,128 KB
testcase_07 AC 80 ms
15,280 KB
testcase_08 AC 80 ms
15,180 KB
testcase_09 WA -
testcase_10 AC 78 ms
15,260 KB
testcase_11 AC 79 ms
15,288 KB
testcase_12 AC 79 ms
15,272 KB
testcase_13 WA -
testcase_14 AC 79 ms
15,204 KB
testcase_15 AC 79 ms
15,328 KB
testcase_16 AC 79 ms
15,180 KB
testcase_17 AC 80 ms
15,076 KB
testcase_18 AC 81 ms
15,208 KB
testcase_19 AC 80 ms
15,272 KB
testcase_20 WA -
testcase_21 AC 80 ms
15,324 KB
testcase_22 AC 81 ms
15,296 KB
testcase_23 WA -
testcase_24 AC 79 ms
15,252 KB
testcase_25 AC 79 ms
15,180 KB
testcase_26 AC 79 ms
14,988 KB
testcase_27 AC 79 ms
15,072 KB
testcase_28 AC 79 ms
14,988 KB
testcase_29 AC 78 ms
15,280 KB
testcase_30 AC 79 ms
14,992 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

A, B = gets.split.map(&:to_i)

if B < A
  puts 'S'
else
  puts 'K'
end
0