結果

問題 No.175 simpleDNA
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-09-25 16:08:51
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 25 ms / 1,000 ms
コード長 267 bytes
コンパイル時間 754 ms
コンパイル使用メモリ 107,448 KB
実行使用メモリ 27,308 KB
最終ジャッジ日時 2024-04-15 06:21:30
合計ジャッジ時間 1,302 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
22,964 KB
testcase_01 AC 24 ms
24,748 KB
testcase_02 AC 25 ms
25,140 KB
testcase_03 AC 25 ms
27,072 KB
testcase_04 AC 24 ms
25,056 KB
testcase_05 AC 25 ms
27,068 KB
testcase_06 AC 25 ms
27,224 KB
testcase_07 AC 24 ms
24,924 KB
testcase_08 AC 24 ms
27,308 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

class No175{
    static void Main(){
        var length=Int32.Parse(Console.ReadLine());
        Console.ReadLine();
        var moji=Console.ReadLine().Split(' ').Length;
        Console.WriteLine(Math.Pow(2,length-3)*moji);
    }
}
0