Chri_K

快读
int read()
{
    int a=0,x=1;char ch=getchar();
    while(ch<'0'||ch>'9'){if(ch=='-')x=-1;ch=getchar();}
    while(ch>='0'&&ch<='9'){a=a*10+ch-'0';ch=getchar();}
    return a*x;
}

int n;

cin>>n;   <=>   n=read();

for(int i=1;i<=n;i++)

x[i]=read();

#include<cctype>
#include<cstdio>
#include<cstring>
#define ll long long int
using namespace std;
//快读
inline ll read(){
   ll s=0,w=1;
   char ch=getchar();
   while(ch<'0'||ch>'9'){if(ch=='-')w=-1;ch=getchar();}
   while(ch>='0'&&ch<='9') s=s*10+ch-'0',ch=getchar();
   return s*w;
}
//快写
inline void out(ll a)
{
    if(a>=10)out(a/10);
    putchar(a%10+'0');
}
int main()
{
    ll n;
    n=read();
    out(n);
    return 0;
}

 


   

posted on 2020-10-31 10:16  Chri_K  阅读(44)  评论(0编辑  收藏  举报