結果
| 問題 |
No.632 穴埋め門松列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-28 10:48:24 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 1,000 ms |
| コード長 | 353 bytes |
| コンパイル時間 | 772 ms |
| コンパイル使用メモリ | 107,924 KB |
| 実行使用メモリ | 26,984 KB |
| 最終ジャッジ日時 | 2024-06-30 23:18:57 |
| 合計ジャッジ時間 | 1,381 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using static System.Console;
using System.Linq;
namespace App
{
class Prog
{
static void Main()
{
var x = ReadLine().Split().ToArray();
if (x[1] == "?")
{
WriteLine("14");
return;
}
WriteLine((x[1] == "3") ? "1" : "4");
}
}
}