結果
| 問題 | No.2460 #強調# |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-22 05:05:55 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 792µs | |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 941 ms |
| コンパイル使用メモリ | 180,284 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-22 05:05:58 |
| 合計ジャッジ時間 | 2,098 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
use proconio::{input, marker::Chars};
fn main() {
input! {
s: Chars,
}
let mut isin: bool = false;
for c in s {
if c == '#' {
isin = !isin;
} else if isin {
print!("{}", c);
}
}
println!("");
}