結果

問題 No.892 タピオカ
コンテスト
ユーザー KisaragiEffective
提出日時 2020-11-06 20:52:29
言語 Ruby
(3.4.1)
結果
WA  
実行時間 -
コード長 89 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-07-22 11:57:04
合計ジャッジ時間 1,593 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 6
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - a
Main.rb:1: warning: assigned but unused variable - c
Main.rb:1: warning: assigned but unused variable - e
Syntax OK

ソースコード

diff #

a,b,c,d,e,f=gets.split.map(&:to_i)
b % 2 == 0 && d % 2 == 0 && f % 2 == 0 ? ":-)" : ":-("
0