| Problem | reinforcement |
|---|---|
| User | xlpaun |
| Submission Time | 2025-12-01 17:36:51 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
reinforcement.cpp: In function ‘int main()’:
reinforcement.cpp:8:18: error: too many arguments to function ‘int rand()’
8 | cout << rand(0,1);
| ^
In file included from /usr/include/c++/9/bits/std_abs.h:38,
from /usr/include/c++/9/cmath:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from reinforcement.cpp:1:
/usr/include/stdlib.h:453:12: note: declared here
453 | extern int rand (void) __THROW;
| ^~~~