Problem greenbeans
User JoshJuice
Submission Time 2024-09-15 15:36:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greenbeans.cpp: In function ‘int main()’:
greenbeans.cpp:8:15: error: ‘arr’ was not declared in this scope
8 | std::cin >> arr[i];
| ^~~
greenbeans.cpp:10:5: error: ‘arr’ was not declared in this scope
10 | if(arr[0]>=arr[1]) std::cout << 1;
| ^~~