Submission #19917

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