結果
問題 | No.632 穴埋め門松列 |
ユーザー | yuma220284 |
提出日時 | 2019-04-05 15:32:59 |
言語 | C++11 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 216 bytes |
コンパイル時間 | 1,766 ms |
コンパイル使用メモリ | 143,132 KB |
実行使用メモリ | 4,504 KB |
最終ジャッジ日時 | 2023-09-02 10:46:25 |
合計ジャッジ時間 | 1,690 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 2 ms
4,376 KB |
testcase_03 | AC | 2 ms
4,376 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
ソースコード
#include "bits/stdc++.h" using namespace std; int main() { char c1, c2, c3; cin >> c1 >> c2 >> c3; if (c1 == '?' || c3 == '?') { if (c2 == '2') cout << 1; else cout << 4; } else cout << 14; cout << endl; }