# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
3533 | 2013-08-31T06:25:46 Z | joinsung | Great Pow! (kriii1_G) | C++ | 0 ms | 1672 KB |
#include <iostream> using namespace std; int main() { long long a,k; cin>>a>>k; if (k==0) cout << a << endl; else if (a%2==0) cout << 1 << endl; else cout << a-1 << endl; return 0; }
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1672 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |