結果

問題 No.841 8/32
ユーザー maimai
提出日時 2019-06-28 21:50:05
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 108 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 11,372 KB
実行使用メモリ 15,364 KB
最終ジャッジ日時 2023-09-14 21:51:37
合計ジャッジ時間 3,147 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
15,340 KB
testcase_01 AC 83 ms
15,036 KB
testcase_02 AC 78 ms
15,160 KB
testcase_03 AC 81 ms
15,132 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 79 ms
15,260 KB
testcase_07 AC 80 ms
15,048 KB
testcase_08 AC 81 ms
15,152 KB
testcase_09 AC 82 ms
15,284 KB
testcase_10 AC 82 ms
15,128 KB
testcase_11 AC 80 ms
15,324 KB
testcase_12 AC 79 ms
15,184 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 80 ms
15,292 KB
testcase_16 AC 79 ms
15,116 KB
testcase_17 WA -
testcase_18 AC 82 ms
15,248 KB
testcase_19 AC 80 ms
15,164 KB
testcase_20 AC 80 ms
15,240 KB
testcase_21 AC 79 ms
15,164 KB
testcase_22 AC 79 ms
15,172 KB
testcase_23 AC 80 ms
15,252 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a, b = gets.split
a, b = a[0], b[0]
puts a=='S' && b =='S' ? '8/33' : a != 'S' && b != 'S' ? '8/31' : '8/32'
0