Problem burgers
User Kannan
Submission Time 2024-02-18 15:52:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

burgers.cpp: In function ‘int main()’:
burgers.cpp:5:41: error: invalid declarator before ‘b’
5 | pair<int, int> a[3], pair<int, int> b[3];
| ^
burgers.cpp:6:41: error: invalid declarator before ‘y’
6 | pair<int, int> x[3], pair<int, int> y[3];
| ^
burgers.cpp:9:5: error: ‘itn’ was not declared in this scope; did you mean ‘int’?
9 | itn a1, a2, a3;
| ^~~
| int
burgers.cpp:10:12: error: ‘a1’ was not declared in this scope; did you mean ‘r1’?
10 | cin >> a1 >> a2 >> a3;
| ^~
| r1
burgers.cpp:10:18: error: ‘a2’ was not declared in this scope; did you mean ‘r2’?
10 | cin >> a1 >> a2 >> a3;
| ^~
| r2
burgers.cpp:10:24: error: ‘a3’ was not declared in