結果
| 問題 |
No.175 simpleDNA
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-20 22:02:58 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 210 bytes |
| コンパイル時間 | 548 ms |
| コンパイル使用メモリ | 68,092 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-26 04:31:07 |
| 合計ジャッジ時間 | 1,150 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <iostream>
#include <string>
#include <math.h>
using namespace std;
int main(int argc, char* argv[])
{
int L,N;
string S;
cin>>L;
cin>>N;
double x=pow(2.0,L-3);
cout<<(int)x*N<<endl;
return 0;
}