結果

問題 No.99 ジャンピング駒
ユーザー gigurururugigurururu
提出日時 2014-12-09 23:31:19
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 74 bytes
コンパイル時間 384 ms
コンパイル使用メモリ 11,476 KB
実行使用メモリ 23,376 KB
最終ジャッジ日時 2023-09-02 12:17:59
合計ジャッジ時間 2,025 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 150 ms
22,808 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 RE -
testcase_05 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
a,b=gets.split.map(&:to_i).group_by{|i|i%2}.map(&:size)
p (a-b).abs
0