結果
| 問題 | 
                            No.1027 U+1F4A0
                             | 
                    
| コンテスト | |
| ユーザー | 
                             ks2m
                         | 
                    
| 提出日時 | 2020-04-17 21:22:03 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 350 bytes | 
| コンパイル時間 | 1,747 ms | 
| コンパイル使用メモリ | 74,244 KB | 
| 実行使用メモリ | 54,428 KB | 
| 最終ジャッジ日時 | 2024-10-03 10:48:46 | 
| 合計ジャッジ時間 | 5,146 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 1 | 
| other | AC * 13 WA * 9 | 
ソースコード
import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d1 = sc.nextInt();
		int d2 = sc.nextInt();
		sc.close();
		if (d1 > d2) {
			System.out.println(0);
		} else if (d1 == d2) {
			System.out.println(4);
		} else {
			System.out.println(8);
		}
	}
}
            
            
            
        
            
ks2m