準備
C#でAtCoderデビューのための準備
のあとで AtCoder Beginners Selection をやってみました。
問題文
ABC086A - Product
https://atcoder.jp/contests/abs/tasks/abc086_a
提出結果
using System;
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int a = int.Parse(input[0]);
int b = int.Parse(input[1]);
int amari = (a * b) % 2;
if (amari == 0) Console.WriteLine("Even");
if (amari == 1) Console.WriteLine("Odd");
}
}