結果
| 問題 | No.1700 floor X |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-08 03:08:21 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 471 bytes |
| 記録 | |
| コンパイル時間 | 2,954 ms |
| コンパイル使用メモリ | 187,408 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-09 22:04:45 |
| 合計ジャッジ時間 | 3,272 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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);
}
}