結果

問題 No.3037 トグルトグルトグル!
ユーザー Blue_S
提出日時 2025-01-08 23:34:39
言語 Rust
(1.83.0 + proconio)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 135 bytes
コンパイル時間 11,475 ms
コンパイル使用メモリ 378,880 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-17 23:06:03
合計ジャッジ時間 12,704 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

use proconio::input;

fn main() {
    input! {
        n: usize,
    }

    println!("{}", (1..).position(|x| x * x >= n).unwrap());
}
0