Submission #19924

#TimeUsernameProblemLanguageResultExecution timeMemory
19924ilbbke동전 (kriii4_E)C++98
0 / 100
0 ms1084 KiB
#include<stdio.h> #define M 1000000007 int n; long long dy[255]; int main() { scanf("%d",&n); dy[1]=1; dy[2]=1; int i; for(i=3;i<=n;i++) dy[i]=(dy[i-1]*2)%M; printf("%lld",dy[n]); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...