結果
問題 | No.632 穴埋め門松列 |
ユーザー |
|
提出日時 | 2019-09-15 01:28:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 306 bytes |
コンパイル時間 | 588 ms |
コンパイル使用メモリ | 70,456 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 22:36:33 |
合計ジャッジ時間 | 1,009 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; } }