Nusrat_Ullah

CF 573 A

Jul 12th, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5.     int q;
  6.     scanf("%d",&q);
  7.     if(q%4==0)printf("1 A\n");
  8.     else if(q%4==1)printf("0 A\n");
  9.     else if(q%4==2)printf("1 B\n");
  10.     else if(q%4==3)printf("2 A\n");
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment