結果

問題 No.2699 Simple Math (Returned)
ユーザー tailstails
提出日時 2024-03-29 23:18:33
言語 cLay
(20240714-1)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 87 bytes
コンパイル時間 3,181 ms
コンパイル使用メモリ 175,544 KB
実行使用メモリ 5,504 KB
最終ジャッジ日時 2024-09-30 16:53:28
合計ジャッジ時間 5,568 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 14 ms
5,248 KB
testcase_02 AC 58 ms
5,248 KB
testcase_03 AC 10 ms
5,248 KB
testcase_04 AC 71 ms
5,504 KB
testcase_05 AC 41 ms
5,504 KB
testcase_06 AC 31 ms
5,504 KB
testcase_07 AC 60 ms
5,504 KB
testcase_08 AC 59 ms
5,376 KB
testcase_09 AC 60 ms
5,504 KB
testcase_10 AC 61 ms
5,376 KB
testcase_11 AC 61 ms
5,376 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