Submission #19558218


Source Code Expand

Copy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1_22_Q6
{
	class Program
	{
		static void Main(string[] args)
		{
			var w = Console.ReadLine().Split(' ');
			int a = int.Parse(w[0]);
			int b = int.Parse(w[1]);
			int n;
			if ((a * b * 1) % 2 == 1)
				Console.WriteLine("Yes");
			else if ((a * b * 2) % 2 == 1)
				Console.WriteLine("Yes");
			else if ((a * b * 3) % 2 == 1)
				Console.WriteLine("Yes");
			else
				Console.WriteLine("No");
		}
	}
}

Submission Info

Submission Time
Task A - ABC333
User Nishiharanitq
Language C# (.NET Core 3.1.201)
Score 100
Code Size 562 Byte
Status AC
Exec Time 98 ms
Memory 27540 KB

Compile Error

Program.cs(16,8): warning CS0168: The variable 'n' is declared but never used [/imojudge/csharp/csharp.csproj]

Judge Result

Set Name All Sample
Score / Max Score 100 / 100 0 / 0
Status
AC × 9
AC × 3
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 84 ms 27540 KB
sample_02 AC 79 ms 27060 KB
sample_03 AC 80 ms 27052 KB
testcase0 AC 80 ms 27056 KB
testcase1 AC 85 ms 27532 KB
testcase2 AC 81 ms 27380 KB
testcase3 AC 75 ms 27384 KB
testcase4 AC 78 ms 27060 KB
testcase5 AC 98 ms 27196 KB