delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#include<iostream>
#include<string>
#include<sstream>
#include<cmath>
using namespace std;
int main()
{
stringstream num;
string j;
int a,b;
bool z,x;
while(true)
{
cin>>a;
z=0;
if(a<0){z=1;a=abs(a);}
b=0;
do
{
b=b*10+a%10;
a/=10;
}while(a>0);
a=b;
if(z==1) a=0-a;
cout<<a<<endl;
}
}