結果

問題 No.3406 Joya no Kane
コンテスト
ユーザー Tyto alba
提出日時 2026-04-12 14:54:15
言語 Rust
(1.94.0 + proconio + num + itertools)
コンパイル:
/usr/bin/rustc_custom
実行:
./target/release/main
結果
WA  
実行時間 -
コード長 221 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,107 ms
コンパイル使用メモリ 188,280 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2026-04-12 14:54:20
合計ジャッジ時間 4,207 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 16 WA * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused variable: `n`
 --> src/main.rs:6:3
  |
6 |         n: usize,
  |         ^ help: if this is intentional, prefix it with an underscore: `_n`
  |
  = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

ソースコード

diff #
raw source code

use proconio::*;

fn main(){
	const HNY: usize = 24 * 60 * 60;
	input!{
		n: usize,
		a: usize,
		h: usize,
		m: usize,
		s: usize
	}
	
	let ans = if HNY <= h*3600+m*60+s+h*a { "Yes" } else { "No" };
	println!("{ans}");
}
0