Submission #19558294


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 100 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 92 ms 27108 KB
sample_02 AC 86 ms 27140 KB
sample_03 AC 100 ms 27072 KB
testcase0 AC 81 ms 27152 KB
testcase1 AC 82 ms 27156 KB
testcase2 AC 93 ms 27540 KB
testcase3 AC 77 ms 27464 KB
testcase4 AC 90 ms 27144 KB
testcase5 AC 85 ms 27136 KB