結果
問題 | No.8041 なんとかのはなうらない |
ユーザー | TEWi_R |
提出日時 | 2019-04-01 21:31:32 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 294 bytes |
コンパイル時間 | 445 ms |
コンパイル使用メモリ | 63,360 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-26 11:19:17 |
合計ジャッジ時間 | 987 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 13 |
ソースコード
#include <iostream> using namespace std; int main() { int num; cin >> num; if (num % 2 == 0) { num -= 1; } while (num > 4) { num -= 4; } if (num == 4) { puts("No"); } else { puts("Yes"); } cout << endl; return 0; }