Problem hamster1
User nivay210
Submission Time 2023-11-15 14:35:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hamster1.cpp: In function ‘int main()’:
hamster1.cpp:10:3: error: ‘int_temp’ was not declared in this scope
10 | int_temp=LLONG_MAX;
| ^~~~~~~~
hamster1.cpp:13:41: error: ‘temp’ was not declared in this scope
13 | if (dp[j]) + abs(arr[i] - arr[j]) < temp){
| ^~~~
hamster1.cpp:18:11: error: ‘temp’ was not declared in this scope
18 | dp[i] = temp;
| ^~~~