Submission #713407

# Submission time Handle Problem Language Result Execution time Memory
713407 2023-03-22T00:41:10 Z Pacybwoah L-triominoes (CEOI21_ltriominoes) C++14
0 / 100
1 ms 212 KB
#include<iostream>
#include<vector>
using namespace std;
int main(){
    int w,h,k;
    cin>>w>>h>>k;
    if(k!=0) return 0;
    if((w%3==0||h%3==0)&&(w%2==0||h%2==0)) cout<<"YES\n";
    else cout<<"NO\n";
}
# 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 Correct 0 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 1 ms 212 KB Output is correct
6 Incorrect 1 ms 212 KB Output isn't correct
7 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 -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -