結果

問題 No.1040 垂直大学
ユーザー yomo3
提出日時 2020-05-05 05:00:26
言語 Java
(openjdk 23)
結果
AC  
実行時間 145 ms / 2,000 ms
コード長 351 bytes
コンパイル時間 2,261 ms
コンパイル使用メモリ 78,532 KB
実行使用メモリ 54,592 KB
最終ジャッジ日時 2024-06-25 19:10:07
合計ジャッジ時間 6,313 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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