結果

問題 No.175 simpleDNA
コンテスト
ユーザー apahie
提出日時 2019-04-25 22:17:37
言語 Nim
(2.2.8)
コンパイル:
nim --nimcache=~ --hints:off -o:a.out -d:release cpp _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 84 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,419 ms
コンパイル使用メモリ 67,124 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2026-03-23 02:46:03
合計ジャッジ時間 3,032 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 4 RE * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport]

ソースコード

diff #
raw source code

import sequtils, strutils, math

let l, n = stdin.readLine.parseInt
echo 2^(l-n) * n
0