提出 #481299


ソースコード 拡げる

import java.util.*;
public class Main {
    public static void main(String[] args){

        Scanner scan = new Scanner(System.in);


        int n = scan.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 {
System.out.println("Perfect");
        }

    }
}

提出情報

提出日時
問題 A - テスト評価
ユーザ AyumiHayakawa
言語 Java (OpenJDK 1.7.0)
得点 100
コード長 427 Byte
結果 AC
実行時間 408 ms
メモリ 23804 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 4
AC × 19
セット名 テストケース
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
ケース名 結果 実行時間 メモリ
example_0.txt AC 408 ms 23776 KiB
example_1.txt AC 405 ms 23696 KiB
example_2.txt AC 394 ms 23796 KiB
example_3.txt AC 396 ms 23768 KiB
handmade_0.txt AC 395 ms 23692 KiB
handmade_1.txt AC 392 ms 23760 KiB
handmade_2.txt AC 371 ms 23716 KiB
handmade_3.txt AC 375 ms 23700 KiB
handmade_4.txt AC 385 ms 23692 KiB
handmade_5.txt AC 379 ms 23692 KiB
random_0.txt AC 377 ms 23688 KiB
random_1.txt AC 368 ms 23696 KiB
random_2.txt AC 366 ms 23708 KiB
random_3.txt AC 380 ms 23804 KiB
random_4.txt AC 394 ms 23740 KiB