結果

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

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <stack>
#include <deque>
using namespace std;

typedef long long ll;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    int n; cin >> n;
    n%=360;
    if(n==90||n==270)printf("Yes\n");
    else printf("No\n");
}
0