結果

問題 No.632 穴埋め門松列
ユーザー cowgirl
提出日時 2018-09-16 10:47:09
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 229 bytes
コンパイル時間 1,270 ms
コンパイル使用メモリ 166,176 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-18 07:20:53
合計ジャッジ時間 1,704 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
    char s1,s2,s3; cin >> s1 >> s2 >> s3;
    if(s2 == '?') cout << "14" << endl;
    else if(s2 == '2') cout << "4" << endl;
    else if(s2 == '3') cout << "1" << endl;
}
0