結果

問題 No.1476 esreveR dna esreveR
ユーザー ⁣
提出日時 2024-06-21 11:39:13
言語 Rust
(1.77.0)
結果
TLE  
実行時間 -
コード長 210 bytes
コンパイル時間 12,591 ms
コンパイル使用メモリ 402,528 KB
実行使用メモリ 13,760 KB
最終ジャッジ日時 2024-06-21 11:39:31
合計ジャッジ時間 17,815 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
13,760 KB
testcase_01 AC 1 ms
6,812 KB
testcase_02 AC 1,054 ms
6,816 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
	let mut s = String::new();
	std::io::stdin().read_line(&mut s).ok();
	let n: u64 = s.trim().parse().unwrap();
	let mut a = 1u64;
	for _ in 0..n / 2 {
		a = a * 6 % 998244353;
	}
	println!("{a}")
}
0