結果

問題 No.815 Are you a traveller ?
ユーザー betrue12betrue12
提出日時 2019-04-19 21:20:22
言語 Ruby
(3.1.1p18 )
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 27 bytes
コンパイル時間 180 ms
使用メモリ 13,904 KB
最終ジャッジ日時 2022-11-22 04:38:40
合計ジャッジ時間 2,157 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 76 ms
13,836 KB
testcase_01 AC 74 ms
13,796 KB
testcase_02 AC 74 ms
13,904 KB
testcase_03 AC 76 ms
13,808 KB
testcase_04 AC 75 ms
13,896 KB
testcase_05 AC 74 ms
13,852 KB
testcase_06 AC 74 ms
13,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: `/' after local variable or literal is interpreted as binary operator
Main.rb:2: warning: even though it seems like regexp literal
Syntax OK

ソースコード

diff #

N = gets.to_i
puts (N+1) /2
0