結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2018-08-31 20:22:25 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 261 bytes |
コンパイル時間 | 127 ms |
コンパイル使用メモリ | 29,312 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-13 22:41:58 |
合計ジャッジ時間 | 592 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <stdio.h>#include <string.h>int main(void){int L,N,i,a=1,len;char S[25];scanf("%d",&L);scanf("%d",&N);scanf("%s",S);len = L - strlen(S);for(i = 1; i <= len; i++){a = a*2;}printf("%d",a*N);}