Submission #19973

# Submission time Handle Problem Language Result Execution time Memory
19973 2016-02-25T08:01:02 Z isac322 동전 (kriii4_E) C++14
0 / 100
0 ms 1084 KB
#include <stdio.h>
unsigned long long coin[251] = { 0, 1, 1, };
const long long int MOD = 1000000007;
int main(){
	int N;
	scanf("%d", &N);
	for(int i = 3; i<=250; i++){
		coin[i] = (coin[i-1]*2) % MOD;
	}
	for(int i = 1; i<=250; i++){
		printf("%llu\n", coin[i]);
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1084 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -