結果
問題 |
No.1040 垂直大学
|
ユーザー |
![]() |
提出日時 | 2020-05-01 21:21:22 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 279 bytes |
コンパイル時間 | 640 ms |
コンパイル使用メモリ | 74,640 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-24 21:29:12 |
合計ジャッジ時間 | 1,417 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 15 WA * 2 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <queue> #include <cmath> using namespace std; using ll=long long; const int INF=1e9; typedef pair<int,int> P; int main() { int n; cin>>n; n%=180; if (n%90==0) cout<<"Yes"<<endl; else cout<<"No"<<endl; }