2018-02-08から1日間の記事一覧

Codeforces Round #461 (Div. 2)

A - Cloning Toys #include <iostream> using namespace std; int main(void) { int x, y; cin >> x >> y; int copy = y - 1; if(copy > x || (x - copy) % 2 != 0) { cout << "No" << endl; } else { cout << "Yes" << endl; } } 上のコード提出したけど速攻Hackされ</iostream>…