結果

問題 No.481 1から10
ユーザー waowao
提出日時 2017-02-25 01:09:36
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 109 bytes
コンパイル時間 45 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 15,324 KB
最終ジャッジ日時 2023-09-01 21:46:24
合計ジャッジ時間 1,831 ms
ジャッジサーバーID
(参考情報)
judge16 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,172 KB
testcase_01 AC 80 ms
15,128 KB
testcase_02 AC 81 ms
15,288 KB
testcase_03 AC 80 ms
15,148 KB
testcase_04 WA -
testcase_05 AC 85 ms
15,132 KB
testcase_06 AC 80 ms
15,324 KB
testcase_07 AC 79 ms
15,200 KB
testcase_08 AC 79 ms
15,128 KB
testcase_09 AC 83 ms
15,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a = gets.split.map(&:to_i)
b = (1..10).to_a

a.each do |e|
	unless a[e] == b[e]
		puts b[e]
		break
	end
end
0