changeset 963 | 5a7556e9e340 |
parent 771 | ad7dff9ee2fd |
child 986 | e997802b855c |
0:c2ac918c0937 | 1:7a1e94c7d388 |
---|---|
34 int random(int m) |
34 int random(int m) |
35 { |
35 { |
36 return int( double(m) * rand() / (RAND_MAX + 1.0) ); |
36 return int( double(m) * rand() / (RAND_MAX + 1.0) ); |
37 } |
37 } |
38 |
38 |
39 using namespace hugo; |
39 using namespace lemon; |
40 |
40 |
41 using std::cout; |
41 using std::cout; |
42 using std::cin; |
42 using std::cin; |
43 using std::endl; |
43 using std::endl; |
44 |
44 |