結果

問題 No.632 穴埋め門松列
ユーザー koma3tabi3koma3tabi3
提出日時 2018-04-10 19:47:43
言語 C++11
(gcc 11.4.0)
結果
RE  
実行時間 -
コード長 293 bytes
コンパイル時間 448 ms
コンパイル使用メモリ 51,816 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-09 03:48:29
合計ジャッジ時間 2,031 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0