結果

問題 No.1040 垂直大学
ユーザー arito_asuarito_asu
提出日時 2020-07-05 16:40:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 5,087 ms
コンパイル使用メモリ 74,348 KB
実行使用メモリ 57,704 KB
最終ジャッジ日時 2023-10-23 20:37:03
合計ジャッジ時間 6,115 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
57,268 KB
testcase_01 AC 112 ms
56,084 KB
testcase_02 AC 123 ms
57,228 KB
testcase_03 AC 125 ms
57,220 KB
testcase_04 AC 124 ms
57,192 KB
testcase_05 AC 123 ms
57,556 KB
testcase_06 AC 125 ms
57,380 KB
testcase_07 AC 124 ms
57,484 KB
testcase_08 AC 124 ms
57,204 KB
testcase_09 AC 123 ms
57,012 KB
testcase_10 AC 125 ms
57,532 KB
testcase_11 AC 126 ms
57,364 KB
testcase_12 AC 124 ms
57,388 KB
testcase_13 AC 124 ms
57,520 KB
testcase_14 AC 122 ms
57,048 KB
testcase_15 AC 123 ms
57,324 KB
testcase_16 AC 124 ms
57,704 KB
testcase_17 AC 124 ms
57,140 KB
testcase_18 AC 122 ms
57,464 KB
testcase_19 AC 123 ms
57,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        String a;
        if (x % 180 == 90) {
            a = "Yes";
        } else {
            a = "No";
        }
        System.out.println(a);
    }
}
0