#include <bits/stdc++.h>
using namespace std;
int main()
{
    int a,b=1;
    for(int i=1;i<10;i++)
    {
        a=(b+1)*2;
        b=a;
    }
    cout<<a<<endl;
    return 0;
}

0 comments

No comments so far...

Information

ID
219
Time
1000ms
Memory
256MiB
Difficulty
8
Tags
# Submissions
64
Accepted
21
Uploaded By