mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-07-07 18:06:58 +08:00
更新了许多
This commit is contained in:
16
分离整数的各个数.cpp
Normal file
16
分离整数的各个数.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <ctime>
|
||||
#include <cmath>
|
||||
using namespace std;
|
||||
int main(){
|
||||
long long a;
|
||||
scanf("%lld",&a);
|
||||
while(a){
|
||||
printf("%lld ",a%10);
|
||||
a/=10;
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user