| Problem | graphcraft |
|---|---|
| User | nguyendinhanh1508 |
| Submission Time | 2026-09-10 16:47:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
graphcraft.cpp:10:1: error: ‘mt19937’ does not name a type
10 | mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
| ^~~~~~~
graphcraft.cpp: In function ‘int rnd(int, int)’:
graphcraft.cpp:13:9: error: ‘rng’ was not declared in this scope; did you mean ‘rnd’?
13 | return rng() % (y - x + 1) + x;
| ^~~
| rnd
graphcraft.cpp: In function ‘int graphcraft(int, int, std::vector<std::pair<int, int> >*)’:
graphcraft.cpp:30:13: error: ‘cycle_check’ was not declared in this scope
30 | cycle_check(i);
| ^~~~~~~~~~~
graphcraft.cpp:39:13: error: ‘toposort’ was not declared in this scope
39 | toposort(i);
| ^~~~~~~~
graphcraft.cpp:42:13: error: ‘order’ was not declared in this scope
42 | reverse(order.begin(), order.end());
| ^~~~~
graphcraft.cpp:42:5: error: ‘reverse’ was not declared i