Submission #19973

#TimeUsernameProblemLanguageResultExecution timeMemory
19973isac322동전 (kriii4_E)C++14
0 / 100
0 ms1084 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...