Problem prisoners
User dsyz
Submission Time 2025-03-21 02:08:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prisoner.cpp: In function ‘long long int rand(ll, ll)’:
prisoner.cpp:7:10: error: ‘rng’ was not declared in this scope
7 | return (rng() % (y + 1 - x)) + x;
| ^~~
prisoner.cpp: In function ‘void prisoner(int, int)’:
prisoner.cpp:17:42: error: ‘rng’ was not declared in this scope
17 | shuffle(possible.begin(),possible.end(),rng);
| ^~~