- 分离整数的各个数位
qq
- 2025-1-14 15:30:58 @
#include<cstdio> #include<iostream> using namespace std; int main(void){ int n; scanf("%d",&n); while(n!=0){ cout<<n%10<<" "; n=n/10; return 0; }
}
0 comments
No comments so far...
Information
- ID
- 122
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 5
- Tags
- (None)
- # Submissions
- 179
- Accepted
- 68
- Uploaded By