結果
問題 |
No.1040 垂直大学
|
ユーザー |
![]() |
提出日時 | 2020-05-04 10:01:22 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 464 bytes |
コンパイル時間 | 787 ms |
コンパイル使用メモリ | 83,468 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-23 22:06:30 |
合計ジャッジ時間 | 1,699 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 11 |
ソースコード
#include <iostream> #include <vector> #include <utility> #include <algorithm> #include <cstdlib> #include <cmath> #include <iomanip> #include <map> typedef long long ll; using namespace std; int main(void) { int a; bool flg = false; cin >> a; if (a == 180 || a == 360 || a == 540 || a == 720 || a == 900) { flg = true; } if (flg) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }