結果

問題 No.2699 Simple Math (Returned)
ユーザー tailstails
提出日時 2024-03-29 21:08:50
言語 cLay
(20240104-1)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 97 bytes
コンパイル時間 4,324 ms
コンパイル使用メモリ 175,816 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-03-29 21:08:57
合計ジャッジ時間 6,739 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,676 KB
testcase_01 AC 13 ms
6,676 KB
testcase_02 AC 57 ms
6,676 KB
testcase_03 AC 10 ms
6,676 KB
testcase_04 AC 80 ms
6,676 KB
testcase_05 AC 47 ms
6,676 KB
testcase_06 AC 46 ms
6,676 KB
testcase_07 AC 68 ms
6,676 KB
testcase_08 AC 68 ms
6,676 KB
testcase_09 AC 67 ms
6,676 KB
testcase_10 AC 67 ms
6,676 KB
testcase_11 AC 67 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
Mint a=10;
ll@t;
rep(t){
	ll@n,@m;
	n%=2m;
	wt(n<m?a**n-1:a**m-a**(n-m));
}
0