- 分离整数的各个数位
h
- 2025-1-14 15:30:04 @
hj
1 comments
-
pushijin LV 7 @ 2025-1-14 15:31:00
#include<cstdio> using namespace std; int n; int main(){ scanf("%d",&n); while(n>0){ printf("%d ",n%10); n=n/10; } return 0; }
- 1
Information
- ID
- 122
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 5
- Tags
- (None)
- # Submissions
- 179
- Accepted
- 68
- Uploaded By