結果
| 問題 |
No.1040 垂直大学
|
| コンテスト | |
| ユーザー |
Tsukasan_z46
|
| 提出日時 | 2020-06-13 00:36:11 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 580 bytes |
| コンパイル時間 | 2,001 ms |
| コンパイル使用メモリ | 193,200 KB |
| 最終ジャッジ日時 | 2025-01-11 03:20:56 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define REPLL(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
template<class T>inline bool chmax(T &a, const T &b){if(a < b){a = b; return 1;}return 0;}
template<class T>inline bool chmin(T &a, const T &b){if(a > b){a = b; return 1;}return 0;}
typedef long long ll;
// yukicoder No.1040 垂直大学
// 2020.06.13
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int N; cin >> N;
if(N%90 == 0 && N%180 != 0){
cout << "Yes" << endl;
}else{
cout << "No" << endl;
}
}
Tsukasan_z46