Submission #3583035


Source Code Expand

package main

import "fmt"

func main() {
	var a, b string
	fmt.Scan(&a, &b)

	if a == "H" && b=="H"{
		fmt.Println("H")
	}else if a=="D" && b=="D"{
		fmt.Println("H")
	}else{
		fmt.Println("D")
	}

}

Submission Info

Submission Time
Task A - HonestOrDishonest
User ta7uw
Language Go (1.6)
Score 100
Code Size 220 Byte
Status AC
Exec Time 1 ms
Memory 512 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 4
Set Name Test Cases
Sample 0_000.txt, 0_001.txt, 0_002.txt
All 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt
Case Name Status Exec Time Memory
0_000.txt AC 1 ms 512 KB
0_001.txt AC 1 ms 512 KB
0_002.txt AC 1 ms 512 KB
1_003.txt AC 1 ms 512 KB