結果
問題 | No.175 simpleDNA |
ユーザー | Tsu0664 |
提出日時 | 2015-06-10 19:15:26 |
言語 | C90 (gcc 11.4.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 788 ms |
コンパイル使用メモリ | 23,704 KB |
実行使用メモリ | 13,188 KB |
最終ジャッジ日時 | 2023-09-20 20:35:33 |
合計ジャッジ時間 | 4,538 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
ソースコード
#include <stdio.h> int main(void) { // your code goes here unsigned long ans, l, n, i; fscanf(stdin, "%d", &l); fscanf(stdin, "%d", &n); l -= 3; ans = 1; for(i = 0; i < l; i++) ans = ans * 2; ans *= n; printf("%ld\n", ans); return 0; }