| Problem | barbecue |
|---|---|
| User | 7Janish7 |
| Submission Time | 2026-01-05 17:33:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
barbecue.cpp: In function ‘int main()’:
barbecue.cpp:15:10: error: ‘x’ was not declared in this scope
15 | cin >> x[i];
| ^
barbecue.cpp:23:13: error: request for member ‘begin’ in ‘Times’, which is of non-class type ‘long long int [k]’
23 | sort(Times.begin(), Times.end(), greater<int>());
| ^~~~~
barbecue.cpp:23:28: error: request for member ‘end’ in ‘Times’, which is of non-class type ‘long long int [k]’
23 | sort(Times.begin(), Times.end(), greater<int>());
| ^~~
barbecue.cpp: At global scope:
barbecue.cpp:30:1: error: expected declaration before ‘}’ token
30 | }
| ^