# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
19662 | | jeapi | 동전 (kriii4_E) | C++98 | | 0 ms | 1720 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |