結果

問題 No.1040 垂直大学
ユーザー merom686merom686
提出日時 2020-05-01 21:21:46
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 305 bytes
コンパイル時間 1,221 ms
コンパイル使用メモリ 88,996 KB
最終ジャッジ日時 2025-01-10 04:02:54
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;
using ll = long long;

int main() {
    int n;
    cin >> n;

    n %= 360;

    cout << ((n == 90 || n == 270) ? "Yes" : "No") << endl;

    return 0;
}
0