結果
| 問題 | No.3630 Edge of triangle |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2026-08-24 01:32:16 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 837µs | |
| コード長 | 679 bytes |
| 記録 | |
| コンパイル時間 | 7,349 ms |
| コンパイル使用メモリ | 189,812 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-24 01:32:27 |
| 合計ジャッジ時間 | 3,676 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 55 |
ソースコード
#![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: usize,
B: usize,
C: usize,
}
let mut v = vec![A, B, C];
v.sort();
let [a, b, c] = v[..] else { unreachable!() };
println!("{}", yn(a+b > c));
}
norioc