Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17811 2024-04-23 23:13:10 lauhemahfus A Plus B C++ 17 1 ms 3376 kb Wrong Answer - 1
Test Cases
CPU Memory Verdict
1 1 ms 3376 kb Wrong Answer
2 - - Skipped
3 - - Skipped
4 - - Skipped
5 - - Skipped
6 - - Skipped
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 = b, 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.