ATCODER ABC 283

 A:

#include 
using namespace std;

int main()
{
	long long a,b;
	cin>>a>>b;
	cout<<(long long)pow(a,b);
	return 0;
}

B: 

#include 
using namespace std;

int main()
{
	int n;
	cin>>n;
	int a[n+1];
	for(int i=1;i<=n;++i)
	{
		cin>>a[i];
	}
	int q;
	cin>>q;
	for(int i=0,m,k;i>m>>k;
		if(m-1)
		{
			cout<>a[k];
		}
	}
	return 0;
}

C: 

#include 
using namespace std;

int main()
{
	string s;
	cin>>s;
	int tt=0;
	bool w=0;
	for(long unsigned i=0;i

D: 

#include 
using namespace std;

int main()
{
	string s;
	cin>>s;
	stack l;
	map m;
	map> mm;
	int t=0;
	for(long unsigned i=0;i

你可能感兴趣的:(比赛日志,c++)