結果

問題 No.1040 垂直大学
ユーザー tentententen
提出日時 2020-12-09 14:15:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 3,370 ms
コンパイル使用メモリ 77,092 KB
実行使用メモリ 57,772 KB
最終ジャッジ日時 2023-10-19 04:51:45
合計ジャッジ時間 7,291 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 139 ms
57,592 KB
testcase_01 AC 139 ms
57,772 KB
testcase_02 AC 137 ms
57,524 KB
testcase_03 AC 139 ms
57,312 KB
testcase_04 AC 140 ms
57,672 KB
testcase_05 AC 138 ms
57,516 KB
testcase_06 AC 138 ms
57,532 KB
testcase_07 AC 138 ms
57,604 KB
testcase_08 AC 138 ms
57,540 KB
testcase_09 AC 136 ms
57,528 KB
testcase_10 AC 135 ms
57,532 KB
testcase_11 AC 138 ms
57,296 KB
testcase_12 AC 139 ms
57,288 KB
testcase_13 AC 139 ms
57,508 KB
testcase_14 AC 140 ms
57,548 KB
testcase_15 AC 138 ms
57,552 KB
testcase_16 AC 140 ms
57,644 KB
testcase_17 AC 136 ms
57,588 KB
testcase_18 AC 139 ms
57,564 KB
testcase_19 AC 138 ms
57,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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