結果
問題 | No.175 simpleDNA |
ユーザー |
|
提出日時 | 2019-09-24 20:40:24 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 130 bytes |
コンパイル時間 | 4,041 ms |
コンパイル使用メモリ | 64,980 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-19 07:35:24 |
合計ジャッジ時間 | 4,144 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
import math, strutils let l, n: int = stdin.readline.parseInt s: string = stdin.readline ans: int = 2 ^ (l - 3) * n echo ans