結果
問題 | No.3069 Invisible Speedrun |
ユーザー |
![]() |
提出日時 | 2025-03-23 19:41:07 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 83 ms / 2,000 ms |
コード長 | 347 bytes |
コンパイル時間 | 13,186 ms |
コンパイル使用メモリ | 402,332 KB |
実行使用メモリ | 25,984 KB |
平均クエリ数 | 585.15 |
最終ジャッジ日時 | 2025-03-23 19:41:29 |
合計ジャッジ時間 | 21,458 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 80 |
ソースコード
use std::process::exit; use proconio::input_interactive; fn main() { input_interactive! { n: usize } for i in 0..2 * n { let command = if i % 2 == 0 { 'D' } else { 'R' }; println!("{command}"); input_interactive! { v: i8 } match v { -1 | 1 => exit(0), _ => (), } } }