fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. string N="38324";
  7. for(char digit : N){
  8. cout<<digit<<endl;
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
3
8
3
2
4