結果

問題 No.841 8/32
ユーザー Takuya NoguchiTakuya Noguchi
提出日時 2020-11-07 22:16:50
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 650 ms
コンパイル使用メモリ 11,312 KB
実行使用メモリ 15,336 KB
最終ジャッジ日時 2023-09-29 20:57:42
合計ジャッジ時間 3,384 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,252 KB
testcase_01 AC 75 ms
15,244 KB
testcase_02 AC 72 ms
15,124 KB
testcase_03 AC 73 ms
15,048 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 74 ms
15,132 KB
testcase_07 AC 73 ms
15,124 KB
testcase_08 AC 73 ms
15,160 KB
testcase_09 AC 75 ms
15,268 KB
testcase_10 AC 74 ms
15,136 KB
testcase_11 AC 71 ms
15,236 KB
testcase_12 AC 71 ms
15,008 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 74 ms
15,128 KB
testcase_16 AC 71 ms
15,156 KB
testcase_17 WA -
testcase_18 AC 72 ms
15,112 KB
testcase_19 AC 75 ms
15,332 KB
testcase_20 AC 75 ms
15,220 KB
testcase_21 AC 72 ms
15,160 KB
testcase_22 AC 71 ms
15,336 KB
testcase_23 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

input = gets.chomp.split

if input.include?('Sat') && input.include?('Sun')
  puts '8/33'
elsif input.include?('Sat') || input.include?('Sun')
  puts '8/32'
else
  puts '8/31'
end
0