Submission #8074389


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 == 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 0
Code Size 290 Byte
Status
Exec Time 90 ms
Memory 19796 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_000.txt, 0_001.txt, 0_002.txt
All 0 / 100 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt
Case Name Status Exec Time Memory
0_000.txt 90 ms 19796 KB
0_001.txt 88 ms 19284 KB
0_002.txt 90 ms 19028 KB
1_003.txt 90 ms 18636 KB