Submission #377460

#TimeUsernameProblemLanguageResultExecution timeMemory
377460marat0210Geppetto (COCI15_geppetto)C++14
0 / 80
1 ms364 KiB
#include <bits/stdc++.h>

using namespace std;

int main()
{
    long long n, m;
    cin >>n>>m;
    if (n == 1) {
        cout <<1<<endl;
    }
    else if (n == 2) {
        if (m == 1) cout <<0<<endl;
        else cout <<3<<endl;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...