結果

問題 No.2699 Simple Math (Returned)
ユーザー tailstails
提出日時 2024-03-29 23:18:33
言語 cLay
(20240104-1)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 87 bytes
コンパイル時間 3,880 ms
コンパイル使用メモリ 175,688 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-03-29 23:18:40
合計ジャッジ時間 6,400 ms
ジャッジサーバーID
(参考情報)
judge12 / 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 79 ms
6,676 KB
testcase_05 AC 46 ms
6,676 KB
testcase_06 AC 35 ms
6,676 KB
testcase_07 AC 67 ms
6,676 KB
testcase_08 AC 67 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