| Problem | discharging |
|---|---|
| User | John |
| Submission Time | 2025-02-13 12:42:56 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
discharging.cpp: In function ‘int main()’:
discharging.cpp:18:49: error: expected ‘;’ before ‘{’ token
18 | if (a[0] * 3 + (max(a[1], a[2]) * 2 < min_val) {
| ^~
| ;
discharging.cpp:22:3: error: expected primary-expression before ‘if’
22 | if (a[2] + max(a[1], a[0]) * 3 < min_val) {
| ^~
discharging.cpp:21:4: error: expected ‘)’ before ‘if’
21 | }
| ^
| )
22 | if (a[2] + max(a[1], a[0]) * 3 < min_val) {
| ~~
discharging.cpp:18:6: note: to match this ‘(’
18 | if (a[0] * 3 + (max(a[1], a[2]) * 2 < min_val) {
| ^