Problem | hamster1 |
---|---|
User | Minjia |
Submission Time | 2023-11-15 13:24:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hamster1.cpp:16:35: error: stray ‘\342’ in program
16 | if(dp[j] + abs(arr[i]-arr[j]) ‹ (temp)){
| ^
hamster1.cpp:16:36: error: stray ‘\200’ in program
16 | if(dp[j] + abs(arr[i]-arr[j]) ‹ (temp)){
| ^
hamster1.cpp:16:37: error: stray ‘\271’ in program
16 | if(dp[j] + abs(arr[i]-arr[j]) ‹ (temp)){
| ^
hamster1.cpp: In function ‘int main()’:
hamster1.cpp:13:3: error: ‘temp’ was not declared in this scope
13 | temp = LLONG_MAX;
| ^~~~
hamster1.cpp:14:16: error: ‘i’ was not declared in this scope
14 | for (int j = i - k; j <= i - 1; j++){
| ^
hamster1.cpp:21:7: error: ‘i’ was not declared in this scope
21 | dp [i]= temp;
| ^
hamster1.cpp: At global scope:
hamster1.cpp:23:2: error: ‘cout’ does not name a type
23 | cout<&l