游客 Signup | Login
中文 | En

3600 - 求积I

求出10个2连乘的积并输出。

Input

Output

1024

Examples

Input

no input needed

Output

1024

Solution C

#include<stdio.h>

int main()
{
    int s=1;
    
    for(int i=1;i<=10;i++){
        s=s*2;
    }
    
    printf("%d",s);

    return 0;
}

Solution C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	
	cout<<pow(2,10);
 } 

Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题