fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long x,y,z;
  6. char f,g;
  7. cin >>x>>f>>y>>g>>z;
  8. cout << x << " " << f << endl;
  9. cout << y << " " << g << endl;
  10. cout << z << " = " << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3300KB
stdin
1234+56/78
stdout
1234 +
56 /
78 =