Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17806 2024-04-23 22:04:53 Dr_KeK A Plus B C++ 17 1 ms 3424 kb Accepted
Test Cases
CPU Memory Verdict
1 1 ms 3328 kb Accepted
2 1 ms 3420 kb Accepted
3 1 ms 3268 kb Accepted
4 1 ms 3384 kb Accepted
5 1 ms 3376 kb Accepted
6 1 ms 3424 kb Accepted
Source Code
program.cpp
Download
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4. using ll= long long ;
  5. #define all(x) (x).begin(), (x).end()
  6. #define Fi first
  7. #define Se second
  8.  
  9.  
  10. void goriber_solve(){
  11. ll n, k ;
  12. cin >> n >> k;
  13.  
  14. // alice goes first ;
  15. // no move -> lose ;
  16.  
  17. cout << n + k << endl ;
  18.  
  19.  
  20. }
  21.  
  22. int main(){
  23. cin.tie(NULL);
  24. ios_base::sync_with_stdio(false);
  25.  
  26. //freopen("test.test","r",stdin);
  27. //freopen("random_1e6.txt","w",stdout);
  28.  
  29. ll t = 1 ;
  30. //cin >> t ;
  31.  
  32. while(t--){
  33. goriber_solve() ;
  34. }
  35. }
  36.