Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <map>
- #include <set>
- using namespace std;
- typedef long long ll;
- int main() {
- int x;
- cin >> x;
- while(x > 0) {
- int cifra = x % 10;
- cout << cifra << " ";
- x /= 10;
- }
- return 0;
- }
- // 2 1 3 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement