Submission #1167813


Source Code Expand

Copy
using System;
using System.Collections.Generic;
public class Aprob {
    public static void Main() {
        string[] readSome = new string[2];
        readSome = Console.ReadLine().Split(' ');
        if (readSome[0] == "H") {
            if (readSome[1] == "H") {
                Console.WriteLine("H");
            } else {
                Console.WriteLine("D");
            }
        } else {
            if (readSome[1] == "H") {
                Console.WriteLine("D");
            } else {
                Console.WriteLine("H");
            }
        }
    }
}

Submission Info

Submission Time
Task A - HonestOrDishonest
User shomu36
Language C# (Mono 4.6.2.0)
Score 100
Code Size 588 Byte
Status
Exec Time 19 ms
Memory 11092 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_000.txt, 0_001.txt, 0_002.txt
All 100 / 100 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt
Case Name Status Exec Time Memory
0_000.txt 19 ms 9044 KB
0_001.txt 19 ms 11092 KB
0_002.txt 19 ms 11092 KB
1_003.txt 19 ms 11092 KB