結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー simansiman
提出日時 2022-05-25 14:57:15
言語 Ruby
(3.3.0)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 182 bytes
コンパイル時間 469 ms
コンパイル使用メモリ 11,832 KB
実行使用メモリ 16,048 KB
最終ジャッジ日時 2023-10-20 19:12:26
合計ジャッジ時間 3,089 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
16,048 KB
testcase_01 AC 72 ms
16,048 KB
testcase_02 AC 75 ms
16,048 KB
testcase_03 AC 75 ms
16,048 KB
testcase_04 AC 77 ms
16,048 KB
testcase_05 AC 77 ms
16,048 KB
testcase_06 AC 74 ms
16,048 KB
testcase_07 AC 74 ms
16,048 KB
testcase_08 AC 73 ms
16,048 KB
testcase_09 AC 75 ms
16,048 KB
testcase_10 AC 79 ms
16,048 KB
testcase_11 AC 75 ms
16,048 KB
testcase_12 AC 75 ms
16,048 KB
testcase_13 AC 75 ms
16,048 KB
testcase_14 AC 76 ms
16,048 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

S = 3.times.map { gets.chomp.chars }

a = [
 %w(# . #),
 %w(. # .),
 %w(# . #),
]

b = [
 %w(. # .),
 %w(# . #),
 %w(. # .),
]

if S == a || S == b
  puts "Yes"
else
  puts "No"
end
0