Submission #2542342
Source Code Expand
using System; using System.Linq; class Program { static void Main() { var xy = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); var a = new int[7] { 1, 3, 5, 7, 8, 10, 12 }; var b = new int[4] { 4, 6, 9, 11 }; Console.WriteLine((a.Contains(xy[0]) && a.Contains(xy[1])) || (b.Contains(xy[0]) && b.Contains(xy[1])) ? "Yes" : "No"); } }
Submission Info
Submission Time | |
---|---|
Task | A - Grouping |
User | starlitsky |
Language | C# (Mono 4.6.2.0) |
Score | 100 |
Code Size | 400 Byte |
Status | AC |
Exec Time | 21 ms |
Memory | 13268 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt |
All | 0_00.txt, 0_01.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 20 ms | 9172 KB |
0_01.txt | AC | 21 ms | 13268 KB |
1_00.txt | AC | 20 ms | 9172 KB |
1_01.txt | AC | 21 ms | 11220 KB |
1_02.txt | AC | 20 ms | 9172 KB |
1_03.txt | AC | 21 ms | 11220 KB |
1_04.txt | AC | 20 ms | 9172 KB |