标签:pre cos turn git type dig double long get
#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int,int> P;
const int N=35;
const double PI=acos(-1);
#define line ‘\n‘
#define gt getchar()
#define mid ((L+R)>>1)
int read(){int x=0,op=1;char c=gt;while(!isdigit(c)){if(c==‘-‘)op=-1;c=gt;}while(isdigit(c))x=x*10+c-48,c=gt;return x*op;}
int main()
{
for(int i=1000;i<=9999;++i)
if((i/1000==i%10)&&(i%1000/100==i%100/10))cout<<i<<line;
return 0;
}
标签:pre cos turn git type dig double long get
原文地址:https://www.cnblogs.com/ZeroOne-World/p/12706751.html