MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / curtime

Function curtime

code/other/simulated_annealing.cpp:1–2  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1double curtime() {
2 return static_cast<double>(clock()) / CLOCKS_PER_SEC; }
3int simulated_annealing(int n, double seconds) {
4 uniform_real_distribution<double> randfloat(0.0, 1.0);
5 uniform_int_distribution<int> randint(0, n - 2);

Callers 1

simulated_annealingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected