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
#include<bits/stdc++.h> using namespace std; using ll = long long; int testcase =0; void solve(){ int a, b; cin >> a >> b; __int128 aa = a, bb = b; __int128 x = 1; for(int i = 0; i<64; i++)x*=2; cout << (int)(aa+bb) << '\n'; } int main(){ ios_base::sync_with_stdio(false);cin.tie(0); ll tc =1; // cin >> tc; while(tc--){ testcase++; solve(); } return 0; }