fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int x;
  7. cin>>x;
  8. cout<<x/10<<'\n'<<x%10;
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5324KB
stdin
25
stdout
2
5