Submission #3259058
Source Code Expand
#include <bits/stdc++.h> #define rep( i, n ) for( int ( i ) = 0; ( i ) < ( n ); ( i )++ ) #define repr( i, n ) for( int ( i ) = ( n ); ( i ) >= 0; ( i )-- ) #define FOR( i, m, n ) for( int ( i ) = ( m ); ( i ) < ( n ); ( i )++ ) #define all( x ) ( x ).begin(), ( x ).end() typedef long long lint; using namespace std; int main( void ){ int a; int b; bool f = false; cin >> a >> b; rep( i, 2){ if ( ( i + 1 ) * a * b % 2 ){ f = true; } } if( f == true){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }
Submission Info
Submission Time | |
---|---|
Task | A - ABC333 |
User | flee_rife |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 561 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | All | Sample | ||||
---|---|---|---|---|---|---|
Score / Max Score | 100 / 100 | 0 / 0 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
All | sample_01, sample_02, sample_03, testcase0, testcase1, testcase2, testcase3, testcase4, testcase5 |
Sample | sample_01, sample_02, sample_03 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01 | AC | 1 ms | 256 KB |
sample_02 | AC | 1 ms | 256 KB |
sample_03 | AC | 1 ms | 256 KB |
testcase0 | AC | 1 ms | 256 KB |
testcase1 | AC | 1 ms | 256 KB |
testcase2 | AC | 1 ms | 256 KB |
testcase3 | AC | 1 ms | 256 KB |
testcase4 | AC | 1 ms | 256 KB |
testcase5 | AC | 1 ms | 256 KB |