結果

問題 No.3083 One Two
ユーザー 37zigen
提出日時 2025-04-15 22:38:42
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 27,626 ms
コンパイル使用メモリ 400,532 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-15 22:40:24
合計ジャッジ時間 28,653 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused import: `std::io`
 --> src/main.rs:1:5
  |
1 | use std::io;
  |     ^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

ソースコード

diff #

use std::io;
use proconio::input;

fn main() {
    input!{
        n: i32,
    }
    println!("{}", (n+1)/2);
}
0