結果
| 問題 | No.632 穴埋め門松列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-10 19:47:43 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 293 bytes |
| コンパイル時間 | 405 ms |
| コンパイル使用メモリ | 55,724 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-26 20:56:32 |
| 合計ジャッジ時間 | 1,741 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 6 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main()
{
int ans;
string c[2];
cin >> c[0] >> c[1] >> c[2];
if (c[1] == "2") ans = 4;
if (c[1] == "3") ans = 1;
else ans = 14;
cout << ans << endl;
fflush (stdin);
getchar ();
fflush (stdin);
getchar ();
return 0;
}