Submission #19788

#TimeUsernameProblemLanguageResultExecution timeMemory
19788Namnamseo동전 (kriii4_E)C++14
0 / 100
0 ms1084 KiB
#include <cstdio> int main() { const int M=int(1e9)+7; int n; scanf("%d",&n); int ans=1; for(int i=3;i<=n;++i) ans=(ans*2)%M; printf("%d\n",ans); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...