fork download
  1. #include <iostream>
  2. #include <sstream>
  3. #include <string>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string s;
  9. while(getline(cin,s))
  10. {
  11. for(int i =0;i<s.size();i++)
  12. if(s[i]=='|')cout<<"c ";
  13. else if (s[i]==':')cout<<" ";
  14. else cout<<s[i];
  15. cout<<endl;
  16. }
  17. return 0;
  18. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
|dadossa.dyndns.tv:18111            |            |newcamd  |        |                |     0 |                               |
|houssememockist.no-ip.biz:3000     |00d 02:23:46|newcamd  |        |                |     1 |remote 0500:032830 23(9)       |
|europe-server.dyndns.org:10002     |            |newcamd  |        |                |     0 |                               |
|gemini-team.no-ip.info:1040        |            |newcamd  |        |                |     0 |                               |
|barclays.no-ip.info:22222          |00d 09:55:07|CCcam-s2s|2.0.11  |afa35cf056e63a67|    11 |remote 0604:000000 28(20)      |
|                                   |            |         |        |                |       |remote 0100:004106 1470(914)   |
|                                   |            |         |        |                |       |remote 1708:000000 3(0)        |
|                                   |            |         |        |                |       |remote 0500:042400 4(0)        |
|                                   |            |         |        |                |       |remote 0100:000068 2(0)        |
|share4share.hopto.org:5000         |00d 07:24:57|CCcam-s2s|2.1.2   |61f37eebc3d425a7|     2 |remote 0500:042400 116(114)    |
|toma123.com:50005                  |            |newcamd  |        |                |     0 |                               |
|makahd.sytes.net:1418              |00d 01:18:50|newcamd  |        |                |     1 |remote 0100:000068 2(0)        |
|newcamed.no-ip.org:19412           |            |newcamd  |        |                |     0 |                               |
|newcamed.no-ip.org:12910           |            |newcamd  |        |                |     0 |                               |
|hammamet.no-ip.biz:44444           |00d 05:38:57|newcamd  |        |                |     1 |remote 0500:032830 60(41)      |
|metalhead.dyndns.org:34000         |00d 09:55:05|newcamd  |        |                |     1 |remote 0604:000000 2642(2622)  |
|topaze3.dyndns.tv:4000             |            |newcamd  |        |                |     0 |                               |
|196.203.245.2:5555                 |00d 09:55:05|newcamd  |        |                |     1 |remote 0604:000000 99(80)      |
|skyuke.dyndns.tv:22604             |00d 09:55:04|newcamd  |        |                |     1 |remote 0100:000068 4(2)        |
|procie.dyndns.org:5000             |00d 09:55:04|newcamd  |        |                |     1 |remote 0500:042400 112(107)    |
|fulcccam.dyndns.tv:15019           |            |newcamd  |        |                |     0 |                               |
|echostar.no-ip.org:23553           |            |newcamd  |        |                |     0 |                               |
|vps-newcamd.dyndns.info:34000      |00d 00:21:56|newcamd  |        |                |     1 |remote 0500:042800 10810(7076) |
|                                   |            |         |        |                |       |remote 0500:000000 22(0)       |
|                                   |            |         |        |                |       |remote 0500:042810 1(0)        |
|california.no-ip.biz:41000         |            |newcamd  |        |                |     0 |                               |
|tgms.no-ip.biz:4040                |00d 02:36:05|newcamd  |        |                |     1 |remote 0d00:000000 14(0)       |
|abdhak2.dyndns.org:10002           |00d 09:55:01|newcamd  |        |                |     1 |                               |
|tenere.dns-stuff.com:14000         |00d 09:54:33|CCcam-s2s|2.0.11  |a0f66a5f62b5b1d3|     3 |remote 1702:000000 5(5)        |
|lavovi.dyndns.org:13984            |00d 09:54:56|CCcam-s2s|2.0.11  |c654e859dc8410d9|     3 |remote 09cd:000000 10(10)      |
|yeniraki.webhop.info:17500         |00d 01:13:36|CCcam-s2s|2.1.3   |161a2123db275deb|   125 |remote 0d00:000000 27(0)       |
|                                   |            |         |        |                |       |remote 0100:004106 443(0)      |
|                                   |            |         |        |                |       |remote 0500:041700 21(7)       |
|                                   |            |         |        |                |       |remote 0500:043800 4(1)        |
|home.ngservers.com:5010            |00d 00:26:08|CCcam-s2s|2.2.1   |bb27bde21079153f|     1 |remote 0500:032940 78(0)       |
|                                   |            |         |        |                |       |remote 0500:032920 17(4)       |
|top-impress4.no-ip.org:12000       |00d 07:39:26|CCcam-s2s|2.2.1   |594b27c3a6dd7cac|     1 |remote 0603:000000 137(86)     |
|cockpitx.gotdns.com:14000          |00d 09:54:53|CCcam-s2s|2.0.11  |27ea468851213362|     1 |remote 0100:003311 5566(5562)  |
|                                   |            |         |        |                |       |remote 0100:003317 13(0)       |
|                                   |            |         |        |                |       |remote 0100:003315 156(156)    |
|jessjuli.dyndns.org:12005          |            |CCcam-s2s|        |                |     0 |                               |
|cccamaction.dyndns.tv:12000        |00d 07:59:17|CCcam-s2s|2.0.11  |192ab91682d250ad|     1 |remote 0604:000000 79(53)      |
|cardsharlab.no-ip.org:10000        |00d 09:54:51|CCcam-s2s|2.0.11  |cda83e5b5897a82d|     6 |remote 0500:032830 63(42)      |
|                                   |            |         |        |                |       |remote 0100:003311 5(0)        |
|                                   |            |         |        |                |       |remote 0500:042400 2(0)        |
|                                   |            |         |        |                |       |remote 0500:042800 21(4)       |
|                                   |            |         |        |                |       |remote 0100:003315 1(0)        |
|luismiguel.poweredbyclear.com:13000|00d 00:54:04|CCcam-s2s|2.1.3   |81784d658d299701|     2 |remote 1810:000000 1290(747)   |
|                                   |            |         |        |                |       |remote 0100:004106 1658(1101)  |
|mimi.dyndns-ip.com:16000           |            |CCcam-s2s|        |                |     0 |                               |
|mikikiwi01.myftp.biz:15000         |00d 01:58:31|CCcam-s2s|2.1.3   |c8e9f5b3ca4eb408|     6 |remote 0604:000000 862(857)    |
|                                   |            |         |        |                |       |remote 0100:003317 13(0)       |
|                                   |            |         |        |                |       |remote 0100:003311 539(536)    |
|                                   |            |         |        |                |       |remote 0500:042400 149(146)    |
|ilmike.dyndns.org:12000            |00d 09:54:49|CCcam-s2s|2.1.4   |164db069b5d20cde|     1 |remote 0919:000000 5(5)        |
|sgueg777.dyndns.org:13000          |00d 09:54:49|CCcam-s2s|2.1.4   |c40bca30dfdf4217|     1 |remote 0500:032830 1518(1460)  |
|megahd.zapto.org:12000             |00d 09:54:48|CCcam-s2s|2.0.11  |bc55c06c4448fd7e|     5 |remote 0100:00006d 9(0)        |
|                                   |            |         |        |                |       |remote 0500:042800 18(2)       |
|                                   |            |         |        |                |       |remote 0100:00006a 3(0)        |
|nedrosatvps.dyndns.biz:13000       |00d 06:04:59|CCcam-s2s|2.0.11  |aad36f0e3c42e471|     3 |remote 0500:042400 16(3)       |
|                                   |            |         |        |                |       |remote 0500:042800 58(28)      |
|bolero10.ath.cx:44444              |00d 09:54:48|CCcam-s2s|2.1.3   |186aa4427c612132|    11 |remote 0100:003317 11(0)       |
|                                   |            |         |        |                |       |remote 0100:003311 4(0)        |
|                                   |            |         |        |                |       |remote 0d96:000000 10(0)       |
|                                   |            |         |        |                |       |remote 0d05:000000 14(0)       |
|                                   |            |         |        |                |       |remote 0b00:000000 156(156)    |
|superman198012.dyndns.org:12522    |00d 01:31:44|CCcam-s2s|2.0.11  |14ac7249e09bd270|     8 |remote 0500:032940 45(0)       |
|                                   |            |         |        |                |       |remote 0500:042400 9(0)        |
|                                   |            |         |        |                |       |remote 0500:032920 235(226)    |
|                                   |            |         |        |                |       |remote 0500:032830 2(0)        |
|                                   |            |         |        |                |       |remote 0500:042800 21(0)       |
|                                   |            |         |        |                |       |remote 0500:030b00 3(0)        |
|                                   |            |         |        |                |       |remote 0500:022610 441(419)    |
|cccam2you.dyndns.org:16000         |00d 03:21:26|CCcam-s2s|2.1.3   |cc8506319b58864 |     3 |remote 0500:032830 2409(2393)  |
|                                   |            |         |        |                |       |remote 0100:003317 12(0)       |
|                                   |            |         |        |                |       |remote 0100:003311 5(0)        |
|                                   |            |         |        |                |       |remote 0100:003315 1(1)        |
|msi.dyndns.tv:20000                |00d 04:12:03|CCcam-s2s|2.1.4   |1660d7e4b95b48ee|     7 |remote 0603:000000 8(7)        |
|                                   |            |         |        |                |       |remote 0647:000000 87(80)      |
|                                   |            |         |        |                |       |remote 0628:000000 10(0)       |
|cardserver24.no-ip.org:14000       |00d 09:54:45|CCcam-s2s|2.1.3   |42534d40cbe1303e|    15 |remote 1810:000000 2499(2028)  |
|                                   |            |         |        |                |       |remote 0100:003311 4(0)        |
|                                   |            |         |        |                |       |remote 0500:042400 666(662)    |
|                                   |            |         |        |                |       |remote 1702:000000 6(5)        |
|                                   |            |         |        |                |       |remote 0500:032830 337(299)    |
|                                   |            |         |        |                |       |remote 0500:042800 16(12)      |
|                                   |            |         |        |                |       |remote 0500:041140 170(101)    |
|                                   |            |         |        |                |       |remote 0100:000068 21(10)      |
|                                   |            |         |        |                |       |remote 0500:041700 76(74)      |
|                                   |            |         |        |                |       |remote 0500:043800 25(23)      |
|                                   |            |         |        |                |       |remote 0100:00006a 9(5)        |
|greatcccam.dyndns.org:48000        |00d 03:14:33|CCcam-s2s|2.1.4   |fcd0156bf0067f2e|     1 |remote 0100:003317 11(0)       |
|                                   |            |         |        |                |       |remote 0100:003311 4(0)        |
|mak1.dyndns.info:28000             |00d 09:54:44|CCcam-s2s|2.1.2   |5df0fa948af6aaaf|     1 |remote 0100:000068 35(33)      |
|realazio.dyndns.tv:14000           |00d 09:54:43|CCcam-s2s|2.1.3   |af5abbdb19893679|     1 |remote 0500:042400 7(5)        |
|jeddahsa.homelinux.net:12000       |00d 07:35:16|CCcam-s2s|2.0.11  |cd41306bd86b6c96|     3 |remote 0604:000000 12(0)       |
|dbox1.webhop.biz:12000             |00d 09:54:39|CCcam-s2s|2.0.11  |763133aca1f2a624|     0 |                               |
|scsrv02.dyndns.info:14000          |00d 09:54:39|CCcam-s2s|2.0.11  |3d43017f25039a4 |     2 |remote 0d05:000000 122(122)    |
|dalii.dyndns.tv:12000              |            |CCcam-s2s|2.1.4   |45c3c80af24ecb34|     0 |                               |
|maisum-cs.dyndns.ws:13000          |00d 00:47:01|CCcam-s2s|2.1.3   |b95c36bc7347a667|     1 |                               |
|babo.dyndns.org:12000              |00d 01:24:03|CCcam-s2s|2.1.3   |e1c8eed6357f83d4|     2 |remote 0628:000000 15(11)      |
|mak1.dyndns.info:16002             |00d 09:54:37|CCcam-s2s|2.1.2   |ef53e5a893c9d54a|     1 |remote 0604:000000 29(0)       |
compilation info
prog.c:1:20: error: iostream: No such file or directory
prog.c:2:19: error: sstream: No such file or directory
prog.c:3:18: error: string: No such file or directory
prog.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’
prog.c: In function ‘main’:
prog.c:8: error: ‘string’ undeclared (first use in this function)
prog.c:8: error: (Each undeclared identifier is reported only once
prog.c:8: error: for each function it appears in.)
prog.c:8: error: expected ‘;’ before ‘s’
cc1: warnings being treated as errors
prog.c:9: error: implicit declaration of function ‘getline’
prog.c:9: error: ‘cin’ undeclared (first use in this function)
prog.c:9: error: ‘s’ undeclared (first use in this function)
prog.c:12: error: ‘cout’ undeclared (first use in this function)
prog.c:15: error: ‘endl’ undeclared (first use in this function)
stdout
Standard output is empty