結果
問題 | No.175 simpleDNA |
ユーザー |
|
提出日時 | 2018-03-13 18:07:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 193 bytes |
コンパイル時間 | 1,746 ms |
コンパイル使用メモリ | 165,768 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-22 11:31:50 |
合計ジャッジ時間 | 2,335 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main(){int i;int a;int L;int N;cin >> L;cin >> N;a = 1;for( i = 3; i < L; i++ ) a *= 2;cout << a * N << endl;return 0;}