結果
問題 |
No.1777 万華鏡美術館
|
ユーザー |
![]() |
提出日時 | 2021-12-06 13:36:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 298 bytes |
コンパイル時間 | 1,661 ms |
コンパイル使用メモリ | 191,180 KB |
最終ジャッジ日時 | 2025-01-26 05:35:47 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 RE * 1 |
other | AC * 5 WA * 1 RE * 4 |
ソースコード
#include<bits/stdc++.h> using namespace std; void yon() { cout << 4 << endl; exit(0); } void go() { cout << 5 << endl; exit(0); } // 1,5,6,7: 4 // 3,8,10,11: 5 int main() { int N, M; cin >> N >> M; if(N == 9) yon(); if(N & 1) go(); // N % 2 == 0 if(M & 1) go(); throw 0; }