結果
| 問題 | No.3609 Trio Plus |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2026-09-21 23:00:12 |
| 言語 | Rust (1.97.1 + proconio + num + itertools + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 0 ms / 2,000 ms |
| + 882µs | |
| コード長 | 670 bytes |
| 記録 | |
| コンパイル時間 | 1,005 ms |
| コンパイル使用メモリ | 185,640 KB |
| 実行使用メモリ | 9,924 KB |
| 最終ジャッジ日時 | 2026-09-21 23:00:15 |
| 合計ジャッジ時間 | 2,542 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#![allow(non_snake_case, unused_imports)]
use std::collections::{BinaryHeap, HashMap, HashSet};
use proconio::{input, marker::Usize1, marker::Chars};
use itertools::Itertools;
#[allow(unused_macros)]
macro_rules! d {
( $( $x:expr ),* $(,)? ) => {
eprintln!(
concat!( $( stringify!($x), "={:?} " ),* ),
$( $x ),*
);
};
}
#[allow(dead_code)]
fn yn(b: bool) -> &'static str {
if b { "Yes" } else { "No" }
}
fn main() {
input! {
A: i64,
B: i64,
C: i64,
}
if A == B && B == C && C == 1 {
println!("A+B+C=Infinity");
} else {
println!("A+B+C={}", A+B+C);
}
}
norioc