結果

問題 No.1040 垂直大学
ユーザー take000
提出日時 2021-09-04 20:27:36
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 308 bytes
コンパイル時間 2,070 ms
コンパイル使用メモリ 191,420 KB
最終ジャッジ日時 2025-01-24 08:05:29
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
typedef long long ll;
using namespace std;

const int MOD = 1e9 + 7;

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

    if (N % 90 == 0 && N / 90 % 2 == 1)
        cout << "Yes";
    else
        cout << "No";
    cout << endl;

    return 0;
}
0