Submission #1606282


Source Code Expand

import java.util.Scanner;

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 BLOND
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 299 Byte
Status AC
Exec Time 88 ms
Memory 23124 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 87 ms 18896 KB
0_001.txt AC 88 ms 19540 KB
0_002.txt AC 88 ms 23124 KB
1_003.txt AC 87 ms 19924 KB