結果

問題 No.175 simpleDNA
ユーザー Tsu0664Tsu0664
提出日時 2015-06-11 23:03:28
言語 C90
(gcc 11.4.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 403 bytes
コンパイル時間 856 ms
コンパイル使用メモリ 22,952 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-20 20:59:09
合計ジャッジ時間 847 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 0 ms
4,376 KB
testcase_02 AC 0 ms
4,380 KB
testcase_03 AC 0 ms
4,380 KB
testcase_04 AC 1 ms
4,376 KB
testcase_05 AC 0 ms
4,380 KB
testcase_06 AC 1 ms
4,376 KB
testcase_07 AC 0 ms
4,376 KB
testcase_08 AC 0 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
 
unsigned long beki[30] = {
	1, 2, 4, 8, 16, 32, 64, 128, 256,
	512, 1024, 2048, 4096, 8192, 16384,
	32768, 65536, 131072, 262144, 524288,
	1048576, 2097152, 4194304, 8388608, 16777216,
	33554432, 67108864, 134217728, 268435456, 536870912
};
 
int main(void) {
	unsigned long l, n;
	fscanf(stdin, "%ld", &l);
	fscanf(stdin, "%ld", &n);
	printf("%ld\n", beki[l - 3] * n);
	return 0;
}
0