Submission #8074666


Source Code Expand

Copy
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String a = sc.next();
    String b = sc.next();
    if(a.equals(b)){
      System.out.println("H");
    }else{
      System.out.println("D");
    }
  }
}

Submission Info

Submission Time
Task A - HonestOrDishonest
User yasu_salmon
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 295 Byte
Status AC
Exec Time 109 ms
Memory 21204 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 109 ms 20176 KB
0_001.txt AC 91 ms 21204 KB
0_002.txt AC 92 ms 21204 KB
1_003.txt AC 91 ms 18644 KB