| Problem | weightedguess |
|---|---|
| User | otarius |
| Submission Time | 2024-07-23 17:29:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
weightedguess.cpp: In function ‘void init(int, std::vector<int>)’:
weightedguess.cpp:41:45: error: incompatible types in assignment of ‘const long long int’ to ‘int [505]’
41 | for (int j = i; j < n; j++) dp[i] = inf;
| ^~~
weightedguess.cpp: In function ‘int guess()’:
weightedguess.cpp:62:19: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
62 | return rec(0, n - 1);
| ^
| yn