結果
問題 |
No.1700 floor X
|
ユーザー |
|
提出日時 | 2022-01-08 03:08:21 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 471 bytes |
コンパイル時間 | 13,286 ms |
コンパイル使用メモリ | 404,244 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-14 09:22:59 |
合計ジャッジ時間 | 15,920 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 41 WA * 3 |
ソースコード
fn main() { let mut buf = String::new(); let mut input = { use std::io::Read; std::io::stdin().read_to_string(&mut buf).unwrap(); buf.split_whitespace() }; let t: usize = input.next().unwrap().parse().unwrap(); let n: Vec<u64> = (0..t) .map(|_| input.next().unwrap().parse().unwrap()) .collect(); for i in 0..t { let ans = (n[i] as f64).sqrt().floor() as u64; println!("{}", ans); } }