6 solutions
Information
- ID
- 2311
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 1
- Tags
- (None)
- # Submissions
- 41
- Accepted
- 29
- Uploaded By
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
int c=3-a-b;
if (a==b) cout<<a;
else cout<<c;
return 0;
}
柚并