Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17812 2024-04-23 23:23:47 lauhemahfus A Plus B C++ 17 1 ms 3388 kb Accepted
Test Cases
CPU Memory Verdict
1 1 ms 3380 kb Accepted
2 1 ms 3380 kb Accepted
3 1 ms 3368 kb Accepted
4 1 ms 3372 kb Accepted
5 1 ms 3260 kb Accepted
6 1 ms 3388 kb Accepted
Source Code
program.cpp
Download
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std;
  4. using ll = long long;
  5. int testcase =0;
  6.  
  7. void solve(){
  8. int a, b; cin >> a >> b;
  9. __int128 aa = a, bb = b;
  10. __int128 x = 1;
  11. for(int i = 0; i<64; i++)x*=2;
  12. cout << (int)(aa+bb) << '\n';
  13. }
  14.  
  15. int main(){
  16. ios_base::sync_with_stdio(false);cin.tie(0);
  17. ll tc =1;
  18. // cin >> tc;
  19. while(tc--){
  20. testcase++;
  21. solve();
  22. }
  23. return 0;
  24. }
  25.