結果
| 問題 | No.3511 Skg |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2026-07-01 01:09:16 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 599 bytes |
| 記録 | |
| コンパイル時間 | 10,371 ms |
| コンパイル使用メモリ | 183,520 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-01 01:09:33 |
| 合計ジャッジ時間 | 11,629 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
#![allow(non_snake_case, unused_imports)]
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,
D: i64,
S: i64,
}
let t = A * C + B * D;
let ans = t <= S;
println!("{}", yn(ans));
}
norioc