1 solutions

  • 0
    @ 2025-12-11 8:06:28
    #include<bits/stdc++.h>
    using namespace std;
    
    
    int main() {
    	int n;
    	cin >> n;
    	int t = 0;
    	t = n / 1000;
    	cout << t << " ";
    	n = n - t * 1000;
    	t = n / 100;
    	cout << t << " ";
    	n = n - t * 100;
    	t = n / 10;
    	cout << t << " ";
    	n = n - t * 10;
    	t = n / 1;
    	cout << t << " ";
    
    }
    
    
    • 1

    Information

    ID
    620
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    9
    Tags
    # Submissions
    9
    Accepted
    5
    Uploaded By