Problem barbecue
User LL
Submission Time 2025-12-29 13:01:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

barbecue.cpp: In function ‘int main()’:
barbecue.cpp:14:2: error: expected initializer before ‘for’
14 | for(ll i=0; i<k; i++){
| ^~~
barbecue.cpp:14:14: error: ‘i’ was not declared in this scope
14 | for(ll i=0; i<k; i++){
| ^
barbecue.cpp:18:10: error: ‘dish’ was not declared in this scope
18 | cin >> dish[i].first >> t;
| ^~~~
barbecue.cpp:22:5: error: ‘dish’ was not declared in this scope
22 | if(dish[0].second>=d) cout << dish[0].first;
| ^~~~