Loading...
Submission
# When Author Problem Language CPU Memory
7816 2023-04-13 23:26:55 GoodFella A Plus B C++ 17 4 ms 3460 kb Accepted
Test Cases
# CPU Memory Points
1 3 ms 3452 kb 1 Accepted
2 3 ms 3420 kb 1 Accepted
3 4 ms 3412 kb 1 Accepted
4 4 ms 3460 kb 1 Accepted
5 3 ms 3460 kb 1 Accepted
6 3 ms 3412 kb 1 Accepted
Source Code
  1. #include <bits/stdc++.h>
  2. #define f(i,n) for(int i=0; i<(n); i++)
  3. #define ff(i,a,n) for(int i=a;i<n;i++)
  4. #define fr(i,a,n) for(int i=a-1;i>=n;i--)
  5. #define pb push_back
  6. #define eb emplace_back
  7. #define all(v) (v).begin(), (v).end()
  8. #define rall(v) (v).rbegin(), (v).rend()
  9. #define vout(v) for(int I=0;I<(v).size();I++)cout<<v[I]<<" ";cout<<"\n"
  10. #define AI(a) ({int n=sizeof(a)/sizeof(a[0]); f(I,n)a[I]=II; })
  11. #define AO(a,n) for(int I=0;I<n;I++)cout<<a[I]<<" ";cout<<"\n"
  12. #define F first
  13. #define S second
  14. #define ps(x) cout<<#x<<"\n"
  15. #define pr(x) cout<<x<<"\n"
  16. #define deb(x) cerr<<(#x)<<" = "<<x<<"\n"
  17. #define hmm(x) cout<<((x)?"YES":"NO")<<"\n";
  18. #define ll long long
  19. #define II ({ll t;cin>>t;t;})
  20. #define cbit(n,p) ((n)&(1LL<<(p)))
  21. #define sbit(n,p) ((n)|(1LL<<(p)))
  22. #define tbit(n,p) ((n)^(1LL<<(p)))
  23. #define debb(...) cerr << "\t[" << #__VA_ARGS__ << "]:\t", dbg_out(__VA_ARGS__)
  24. //#define cerr if(0)cerr
  25.  
  26. using namespace std;
  27. void dbg_out() {
  28. cerr << endl;
  29. }
  30. template<typename Head, typename... Tail> void dbg_out(Head H, Tail... T) {
  31. cerr << ' ' << H;
  32. dbg_out(T...);
  33. }
  34.  
  35. typedef pair<int,int> pii;
  36. const int MAX = 2e5+5;
  37.  
  38. void solve() {
  39. int a, b;
  40. cin>>a>>b;
  41. cout<<a+b<<"\n";
  42. }
  43. int main() {
  44. cin.tie(nullptr)->sync_with_stdio(false);
  45. int t=1;
  46.  
  47. while(t--)
  48. solve();
  49. }
  50.