Submission #19662

#TimeUsernameProblemLanguageResultExecution timeMemory
19662jeapi동전 (kriii4_E)C++98
0 / 100
0 ms1720 KiB
#include<iostream> using namespace std; typedef long long ll; ll D[251]; int main() { D[0] = 1; D[1] = 1; D[2] = 1; for (int i = 3; i <= 250; i++) { D[i] = (D[i - 1] * 2 )% 1000000007; } int t; cin >> t; cout << D[t] << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...