Submission #479864


Source Code Expand

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        if (N <= 59) {
            System.out.println("Bad");
        } else if (N >= 60 && N <= 89) {
            System.out.println("Good");
        } else if (N >= 90 && N <= 99) {
            System.out.println("Great");
        } else if (N == 100) {
            System.out.println("Perfect");
        }   
    }   
}

Submission Info

Submission Time
Task A - テスト評価
User davidphuong20
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 501 Byte
Status AC
Exec Time 378 ms
Memory 23948 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 19
Set Name Test Cases
Sample example_0.txt, example_1.txt, example_2.txt, example_3.txt
All example_0.txt, example_1.txt, example_2.txt, example_3.txt, handmade_0.txt, handmade_1.txt, handmade_2.txt, handmade_3.txt, handmade_4.txt, handmade_5.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, example_0.txt, example_1.txt, example_2.txt, example_3.txt
Case Name Status Exec Time Memory
example_0.txt AC 363 ms 23948 KiB
example_1.txt AC 369 ms 23944 KiB
example_2.txt AC 361 ms 23948 KiB
example_3.txt AC 368 ms 23924 KiB
handmade_0.txt AC 363 ms 23940 KiB
handmade_1.txt AC 363 ms 23880 KiB
handmade_2.txt AC 359 ms 23820 KiB
handmade_3.txt AC 364 ms 23940 KiB
handmade_4.txt AC 362 ms 23836 KiB
handmade_5.txt AC 363 ms 23940 KiB
random_0.txt AC 367 ms 23912 KiB
random_1.txt AC 372 ms 23856 KiB
random_2.txt AC 361 ms 23928 KiB
random_3.txt AC 378 ms 23916 KiB
random_4.txt AC 360 ms 23936 KiB