Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ randdouble
Function
randdouble
tester/test_header.cpp:50–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
double randdouble(double a, double b) {
51
return uniform_real_distribution(a, b)(rng);
52
}
53
54
int randint(int a, int b) {
55
return uniform_int_distribution(a, b)(rng);
Callers
1
test
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected