添加了许多代码文件

This commit is contained in:
AleaderKimo
2023-02-25 22:09:40 +08:00
committed by GitHub
parent bba0041ec5
commit bb93b51e13
32 changed files with 794 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#include <iostream>
#include <cstring>
#include <cstdio>
#include <iomanip>
using namespace std;
int main(){
int a,b,c=0,d[10000],i=0;
cin >>a;
b=a;
while(a){
a/=10;
c++;
}
while(b){
d[i]=b%10;
b/=10;
i++;
}
for(int i=0;i<c;i++){
cout <<d[i]<<" ";
}
return 0;
}