fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int s1=0;
  4. string s;
  5. bool c=true;
  6. int main(){
  7. ios_base::sync_with_stdio(false);
  8. cin.tie(0);cout.tie(0);
  9. getline(cin,s);
  10. for(char x:s){
  11. if(!isdigit(x)){
  12. if(s1==92) cout<<'\n';
  13. if(s1==124&&c) cout<<'\n'<<" "<<char(s1)<<'\n'<<" ";
  14. cout<<char(s1);
  15. if(s1==124&&c){cout<<'\n';c=false;}
  16. s1=0;
  17. }
  18. else s1=s1*10+int(x-'0');
  19. }
  20. if(s1!=0) cout<<char(s1);
  21. return 0;
  22. }
Success #stdin #stdout 0s 5316KB
stdin
70 85 67 75 32 89 79 85 33 33 33 32 124 124 124 124 124 124 92 95 124 95 47
stdout
FUCK YOU!!! 
  |
  |
|||||
\_|_/