結果
問題 |
No.2132 1 or X Game
|
ユーザー |
|
提出日時 | 2022-11-25 22:35:48 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 640 ms |
コンパイル使用メモリ | 65,584 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-02 05:12:36 |
合計ジャッジ時間 | 7,695 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 11 |
コンパイルメッセージ
main.cpp:6:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 6 | main() | ^~~~
ソースコード
#include<iostream> #include<atcoder/modint> using namespace std; using mint=atcoder::modint998244353; long N,X; main() { int T;cin>>T; for(;T--;) { cin>>N>>X; cout<<mint((N+1)/2).val()<<"\n"; } }