Submission #644920

# Submission time Handle Problem Language Result Execution time Memory
644920 2022-09-25T14:17:40 Z andrei_boaca L-triominoes (CEOI21_ltriominoes) C++14
0 / 100
1 ms 212 KB
#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
ll n,m,k;
int main()
{
    cin>>n>>m>>k;
    if(k==0)
    {
        ll prod=n*m;
        if(prod%3!=0)
        {
            cout<<"NO";
            return 0;
        }
        cout<<"YES";
        return 0;
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -