Submission #620994

#TimeUsernameProblemLanguageResultExecution timeMemory
620994berrL-triominoes (CEOI21_ltriominoes)C++17
0 / 100
1 ms324 KiB
#include <bits/stdc++.h> using namespace std; #define int long long int32_t main() { ios_base::sync_with_stdio(false); cin.tie(0); int n, m, k; cin>>n>>m>>k; if(k%2==0) { if(n%3==0&&m%2==0) cout<<"YES\n"; else if(m%3==0&&n%2==0) cout<<"YES\n"; else cout<<"NO\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...