結果
問題 | No.632 穴埋め門松列 |
ユーザー | nali |
提出日時 | 2019-08-04 20:20:35 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 51 ms / 1,000 ms |
コード長 | 248 bytes |
コンパイル時間 | 4,061 ms |
コンパイル使用メモリ | 96,156 KB |
実行使用メモリ | 22,468 KB |
最終ジャッジ日時 | 2023-09-23 01:19:38 |
合計ジャッジ時間 | 2,714 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 50 ms
22,448 KB |
testcase_01 | AC | 49 ms
20,616 KB |
testcase_02 | AC | 50 ms
20,608 KB |
testcase_03 | AC | 49 ms
20,652 KB |
testcase_04 | AC | 51 ms
20,616 KB |
testcase_05 | AC | 51 ms
22,468 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { static void Main() { var s = Console.ReadLine(); if (s[2] == '2') { Console.WriteLine(4); } else if (s[2] == '3') { Console.WriteLine(1); } else { Console.WriteLine(14); } } }