結果
| 問題 | No.632 穴埋め門松列 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-09-09 22:39:48 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 294 bytes | 
| コンパイル時間 | 2,236 ms | 
| コンパイル使用メモリ | 194,040 KB | 
| 最終ジャッジ日時 | 2025-01-14 09:01:21 | 
| ジャッジサーバーID (参考情報) | judge5 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 6 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
void solve() {
  string c1, c2, c3, ans;
  cin >> c1 >> c2 >> c3;
  if (c2 == "?") ans = "14";
  if (c2 == "2") ans = "4";
  if (c2 == "3") ans = "1";
  cout << ans << endl;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
}
            
            
            
        