Problem reinforcement
User xlpaun
Submission Time 2025-12-01 17:43:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reinforcement.cpp: In function ‘int main()’:
reinforcement.cpp:7:63: error: expected ‘)’ before ‘;’ token
7 | int x = (srand(static_cast<unsigned int>(std::time(nullptr)));
| ~ ^
| )
reinforcement.cpp:7:16: error: void value not ignored as it ought to be
7 | int x = (srand(static_cast<unsigned int>(std::time(nullptr)));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~