結果
| 問題 |
No.632 穴埋め門松列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-18 16:03:17 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 223 bytes |
| コンパイル時間 | 550 ms |
| コンパイル使用メモリ | 56,184 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-24 13:02:39 |
| 合計ジャッジ時間 | 1,061 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
#include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main()
{
char c[3];
for (auto& x : c) cin >> x;
cout << (c[1] == '2' ? 4 : (c[1] == '3' ? 1 : 14)) << endl;
return 0;
}