| Codentines Day |
|---|
| Закончено |
Bob, being a novice in the realm of dating, took the initiative to educate himself by purchasing a book on relationship dynamics and crucial elements within them. However, to his surprise, he mistakenly acquired a book on entity relationship diagrams, which captivated his interest nonetheless. Despite this detour, Bob remains determined to grasp the fundamentals of nurturing a healthy relationship with his girlfriend. Resorting to a tried-and-true method, he has chosen to express his affection through the timeless practice of gift-giving. As such, he has devised a schedule for presenting his girlfriend with thoughtful gifts which goes as follows:
Today is day 1 of the year, and the year contains $$$L$$$ days. Help Bob count the number of distinct ways he can give gifts to his girlfriend during this year.
Notes :
The input contains 2 integers $$$L$$$ $$$(1 \leq L \leq 10^{18})$$$ and $$$K$$$ $$$(1 \leq K \leq 100)$$$.
Print one integer, the answer to the problem modulo $$$998244353$$$.
4 2
14
100 50
297200453
| Название |
|---|


