Problem | lunchcombo |
---|---|
User | itsLQ |
Submission Time | 2024-01-18 22:06:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchcombo.cpp: In function ‘bool getTotal(long long int)’:
lunchcombo.cpp:25:59: error: expected ‘;’ before ‘return’
25 | if (((N += Bsum[j] + A[i] * (j + 1)) + (K - L) * P <= p) return true;
| ^~~~~~~
| ;
lunchcombo.cpp:26:2: error: expected primary-expression before ‘}’ token
26 | }
| ^
lunchcombo.cpp:25:72: error: expected ‘)’ before ‘}’ token
25 | if (((N += Bsum[j] + A[i] * (j + 1)) + (K - L) * P <= p) return true;
| ~ ^
| )
26 | }
| ~
lunchcombo.cpp:26:2: error: expected primary-expression before ‘}’ token
26 | }
| ^