結果
| 問題 | No.632 穴埋め門松列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-09-15 01:28:50 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 306 bytes |
| 記録 | |
| コンパイル時間 | 582 ms |
| コンパイル使用メモリ | 86,888 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-03-28 12:38:45 |
| 合計ジャッジ時間 | 817 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <numeric>
using namespace std;
typedef long long int ll;
int main(){
char x,y,z; cin >> x >> y >> z;
if(x=='?'||z=='?'){
if(y=='3')cout << 1 << endl;
else cout << 4 << endl;
}
if(y=='?'){
cout << 14 << endl;
}
}