結果

問題 No.687 E869120 and Constructing Array 1
ユーザー kazukikazuki
提出日時 2018-11-23 18:19:34
言語 Ruby
(3.2.2)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 73 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 11,244 KB
実行使用メモリ 15,352 KB
最終ジャッジ日時 2023-08-26 04:34:25
合計ジャッジ時間 1,587 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,028 KB
testcase_01 AC 72 ms
15,292 KB
testcase_02 AC 75 ms
15,148 KB
testcase_03 AC 73 ms
15,156 KB
testcase_04 AC 75 ms
15,288 KB
testcase_05 AC 74 ms
15,264 KB
testcase_06 AC 74 ms
15,140 KB
testcase_07 AC 73 ms
15,352 KB
testcase_08 AC 69 ms
15,304 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N = gets.to_i

if N <= 10
  puts "1 #{N-1}"
else
  puts "#{N-10} 10"
end
0