fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a=0;int m=0;int n=0;int x=0;
  5. int s=',';int f='.';int b= ':';
  6. while((a=getchar())!=EOF){
  7. if(a==s||a==f||a==b){m=a;}
  8. else
  9. printf("%c",n);
  10.  
  11. printf("%c",m);
  12.  
  13. }
  14. }
  15.  
Success #stdin #stdout 0s 5344KB
stdin
Vova:::korova..dai,,,moloko
stdout
:::::::::.....,,,,,,,,,