結果
| 問題 | No.632 穴埋め門松列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-10 19:47:43 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 293 bytes |
| 記録 | |
| コンパイル時間 | 489 ms |
| コンパイル使用メモリ | 74,108 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-13 16:09:45 |
| 合計ジャッジ時間 | 798 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 2 |
ソースコード
#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;
}