結果

問題 No.3058 M + D Problem
ユーザー TSF_initialDTSF_initialD
提出日時 2020-04-01 21:47:28
言語 Ruby
(3.2.2)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 249 ms
コンパイル使用メモリ 11,480 KB
実行使用メモリ 15,312 KB
最終ジャッジ日時 2023-09-09 17:42:16
合計ジャッジ時間 4,175 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,064 KB
testcase_01 AC 77 ms
15,044 KB
testcase_02 AC 76 ms
15,128 KB
testcase_03 AC 76 ms
15,244 KB
testcase_04 AC 77 ms
15,172 KB
testcase_05 AC 79 ms
15,132 KB
testcase_06 AC 77 ms
15,024 KB
testcase_07 AC 78 ms
15,068 KB
testcase_08 AC 78 ms
15,312 KB
testcase_09 AC 77 ms
15,104 KB
testcase_10 AC 77 ms
15,128 KB
testcase_11 AC 78 ms
15,016 KB
testcase_12 AC 77 ms
15,124 KB
testcase_13 AC 77 ms
15,072 KB
testcase_14 AC 78 ms
15,072 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,m = $stdin.gets.split.map(&:to_i)
if n == 4 && m == 1
    puts 3
else
    puts n + m
end
0