Submission #9805465


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;
using ll = long long ;
int main(){

ll a,b;
cin >>a >> b;
if(a==1&&b==2){cout << 3 << endl ;}
else if(a==1&&b==3){cout << 2 << endl ;}
else if(a==2&&b==1){cout << 3 << endl ;}
else if(a==2&&b==3){cout << 1 << endl ;}
else if(a==3&&b==1){cout << 2 << endl ;}
else if(a==3&&b==2){cout << 1 << endl ;}




    return 0 ;
}

Submission Info

Submission Time
Task A - Round One
User Motasemd
Language C++14 (GCC 5.4.1)
Score 100
Code Size 385 Byte
Status
Exec Time 2 ms
Memory 384 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
Subtask1 100 / 100 sample_01.txt, sample_02.txt, sub1_01.txt, sub1_02.txt, sub1_03.txt, sub1_04.txt
Case Name Status Exec Time Memory
sample_01.txt 2 ms 384 KB
sample_02.txt 1 ms 256 KB
sub1_01.txt 1 ms 256 KB
sub1_02.txt 1 ms 256 KB
sub1_03.txt 1 ms 256 KB
sub1_04.txt 1 ms 256 KB