結果
問題 | No.175 simpleDNA |
ユーザー | TaK7907 |
提出日時 | 2017-10-29 12:11:35 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 25 ms / 1,000 ms |
コード長 | 449 bytes |
コンパイル時間 | 757 ms |
コンパイル使用メモリ | 107,312 KB |
実行使用メモリ | 25,936 KB |
最終ジャッジ日時 | 2024-05-01 22:05:41 |
合計ジャッジ時間 | 1,579 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 24 ms
23,876 KB |
testcase_01 | AC | 24 ms
23,768 KB |
testcase_02 | AC | 24 ms
23,900 KB |
testcase_03 | AC | 24 ms
23,772 KB |
testcase_04 | AC | 24 ms
25,936 KB |
testcase_05 | AC | 25 ms
25,936 KB |
testcase_06 | AC | 23 ms
23,900 KB |
testcase_07 | AC | 24 ms
23,904 KB |
testcase_08 | AC | 24 ms
25,932 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.Linq; namespace yukicodeX { public class ProgramX { public static int Solver(System.IO.TextReader reader) { var l = int.Parse(reader.ReadLine()); var n = int.Parse( reader.ReadLine() ); return (int)Math.Pow(2,l-3) * n; } private static void Main() { Console.WriteLine( Solver( Console.In ) ); } } }