1021`
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
int a;
scanf("%d",&a);
printf("%c",a);
return 0;
}
1022
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
int n;
cin>>n;
cout<<bool(n)<<endl;
return 0;
}
1023
#include"cstdio"
using namespace std;
int main()
{
printf("%d",sizeof("Hello, World!"));
return 0;
}
1024
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
float a;
scanf("%f",&a);
printf("%.3f",a);
return 0;
}
1025
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
double a;
scanf("%lf",&a);
printf("%.12lf",a);
return 0;
}
1026
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
char a;
int b;
float c;
double d;
scanf("%c",&a);
scanf("%d",&b);
scanf("%f",&c);
scanf("%lf",&d);
printf("%c %d %.6f %.6f",a,b,c,d);
return 0;
}
1027
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
double n;
cin>>n;
printf("%f\n",n);
printf("%.5f\n",n);
printf("%e\n",n);
printf("%g\n",n);
return 0;
}
1028
#include"iostream"
#include"cstdio"
using namespace std;
int main()
{
char t;
scanf("%c",&t);
printf(" %c\n",t);
printf(" %c%c%c\n",t,t,t);
printf("%c%c%c%c%c\n",t,t,t,t,t);
printf(" %c%c%c\n",t,t,t);
printf(" %c\n",t);
return 0;
}
1029
#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int main()
{
double a,b,r;
int k;
scanf("%lf%lf",&a,&b);
k=a/b;
r=a-k*b;
printf("%g",r);
return 0;
}
1030
#include<cstdio>
using namespace std;
int main()
{
double r,pai,V;
pai=3.14;
scanf("%lf",&r);
if(r>=0 && r<=100) {
V=4/3.0*pai*r*r*r;
printf("%.2lf",V);
}
else
printf("Wrong input");
return 0;
}