Advertisement
Saleh127

CF 1178C

Aug 11th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. ios_base::sync_with_stdio(0);
  6. cin.tie(0);cout.tie(0);
  7.  
  8. long long a,c,d,e,i,j;
  9. cin>>a>>c;
  10. d=1;
  11. for(i=1;i<=a+c;i++)
  12. {
  13. d=(d*2)%998244353;
  14. }
  15. cout<<d%992844353<<endl;
  16.  
  17. return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement