結果
問題 |
No.1040 垂直大学
|
ユーザー |
![]() |
提出日時 | 2022-08-02 22:31:28 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 229 bytes |
コンパイル時間 | 1,470 ms |
コンパイル使用メモリ | 157,460 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-23 16:34:13 |
合計ジャッジ時間 | 2,240 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 4 WA * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; void solve(int n) { int x = 90; while(x < n) { x += 180; } if (x == n) { puts("Yes"); return; } puts("NO"); } int main() { int n; cin >> n; solve(n); return 0; }