fork download
  1. /*
  2.   Author: Anas
  3.   Date: 25-09-2024
  4.   Time: 21:33:40
  5.   File: a.cpp
  6. */
  7. #include <bits/stdc++.h>
  8. using namespace std;
  9.  
  10. using ll = long long;
  11.  
  12. int main() {
  13. ios::sync_with_stdio(false);
  14. cin.tie(NULL);
  15.  
  16. ll t=1;
  17. // cin >> t;
  18.  
  19. // auto Anas = [&]() {
  20.  
  21.  
  22. // };
  23.  
  24. while (t--) {
  25. // Anas();
  26. ll a,b;
  27. cin>>a>>b;
  28. vector<ll>v={1,2,3};
  29. for (ll i = 0; i <3; i++)
  30. {
  31. if(a!=v[i]||b!=v[i])
  32. {
  33. cout<<v[i];
  34. break;
  35. }
  36. }
  37.  
  38. }
  39.  
  40. return 0;
  41. }
  42.  
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
1