結果
| 問題 |
No.1184 Hà Nội
|
| コンテスト | |
| ユーザー |
尻リハビリ
|
| 提出日時 | 2020-09-07 22:52:09 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 324 bytes |
| コンパイル時間 | 631 ms |
| コンパイル使用メモリ | 66,216 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-29 11:25:12 |
| 合計ジャッジ時間 | 22,699 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 TLE * 7 |
ソースコード
#include <iostream>
#include <utility>
#include <vector>
#include <string>
#include <cstdio>
using namespace std;
int main(){
long long int n,l;
long long int s=998244353;
cin>>n>>l;
long long int ans=1;
n=(n+l-1)/l;
for (int i=0;i<n;i++)
ans=(ans*2)%s;
cout<<(ans-1)<<endl;
}
尻リハビリ