fork(5) download
  1. #include <iostream>
  2. #define c cout
  3. using namespace std;int main(){srand(time(0));int i,j=(int)(rand()*20.0/RAND_MAX);for(i=0;i<j;){c<<"Loves me";if(i%2)c<<" not";c<<(++i==j?".\n":"...\n");}c<<(j%2?"<3":"</3");}
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Loves me...
Loves me not...
Loves me...
Loves me not...
Loves me...
Loves me not...
Loves me.
<3