結果
問題 |
No.175 simpleDNA
|
ユーザー |
![]() |
提出日時 | 2016-11-14 03:20:05 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 1,839 ms |
コンパイル使用メモリ | 73,908 KB |
実行使用メモリ | 56,140 KB |
最終ジャッジ日時 | 2024-11-25 22:09:49 |
合計ジャッジ時間 | 3,462 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 6 |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int dnaSequenceLen = sc.nextInt(); long numStopCodon = sc.nextLong(); System.out.println((int) Math.pow(2, numStopCodon - 3) * dnaSequenceLen); } }