結果

問題 No.1040 垂直大学
ユーザー Yosuke Yamaguchi
提出日時 2021-02-07 19:37:39
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 394 bytes
コンパイル時間 3,006 ms
コンパイル使用メモリ 74,476 KB
実行使用メモリ 41,348 KB
最終ジャッジ日時 2024-07-04 12:36:32
合計ジャッジ時間 6,070 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

// https://yukicoder.me/problems/no/1040
public class Virtical1040 {
  public static void main(String[] args) {
    // 標準入力から読み込む際に、Scan
    Scanner sc = new Scanner(System.in);
    int angle = Integer.parseInt(sc.next());
    if (angle % 360 == 90) {
      System.out.println("YES");
    } else {
      System.out.println("NO");
    }
  }
}
0