結果
| 問題 |
No.3115 One Power One Kill
|
| コンテスト | |
| ユーザー |
lumc_
|
| 提出日時 | 2025-04-20 15:05:30 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| コード長 | 897 bytes |
| コンパイル時間 | 12,986 ms |
| コンパイル使用メモリ | 393,748 KB |
| 実行使用メモリ | 25,996 KB |
| 平均クエリ数 | 2.00 |
| 最終ジャッジ日時 | 2025-04-20 15:06:01 |
| 合計ジャッジ時間 | 16,131 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#![allow(
dead_code,
non_snake_case,
unused_imports,
unused_mut,
unused_variables,
while_true,
unused_assignments,
clippy::needless_range_loop,
clippy::ptr_arg,
clippy::type_complexity,
clippy::unnecessary_cast
)]
use proconio::{
input,
marker::{Chars, Usize1 as usize1},
source::line::LineSource,
};
use std::collections::BTreeSet;
use std::collections::{BinaryHeap, HashMap, HashSet, VecDeque};
use std::io::{BufReader, Write, stdin, stdout};
fn main() {
let stdin = stdin();
let mut source = LineSource::new(BufReader::new(stdin.lock()));
println!("{} {}", 1 << 15, 1 << 16);
stdout().flush().unwrap();
input! {
from &mut source,
K: usize,
};
println!("{}", K % 2);
stdout().flush().unwrap();
input! {
from &mut source,
ret: usize,
};
assert!(ret == 1);
}
lumc_