/*
Returns a random integer between 0 and 1.
*/

#include <iostream>
#include <ctime>
using namespace std;
int main()
{
	srand(time(0));
     	cout <<  rand() / float(RAND_MAX) << endl;
	return 0;
}

