# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
19917 | | ilbbke | 동전 (kriii4_E) | C++98 | | 0 ms | 1084 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<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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |