Submission #19879

#TimeUsernameProblemLanguageResultExecution timeMemory
19879yongwhan동전 (kriii4_E)C++14
0 / 100
0 ms1708 KiB
#include<bits/stdc++.h> using namespace std; const int mod=1e9+7; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int n; cin>>n; n-=2; long long ret=1; for (int i=0; i<n; i++) ret=(ret*2)%mod; cout << ret << endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...