快读

· · 个人记录

#include<bits/stdc++.h>
using namespace std;
int read()
{
    int res=0,b=1;
    char c=getchar();
    while(c<'0'||c>'9')
    {
        if(c=='-') b=-1;
        c=getchar();
    }
    while(c>='0'&&c<='9')
    {
        res=res*10+c-'0';
        c=getchar();
    }
    return res*b;
}
int main()
{
    int ans=read();
    cout<<ans; 
    return 0;
}