Problem | burgers |
---|---|
User | Kannan |
Submission Time | 2023-12-20 16:49:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
burgers.cpp:5:23: error: ‘vector’ does not name a type
5 | int minimum_arr(const vector<int>& arr) {
| ^~~~~~
burgers.cpp:5:29: error: expected ‘,’ or ‘...’ before ‘<’ token
5 | int minimum_arr(const vector<int>& arr) {
| ^
burgers.cpp: In function ‘int minimum_arr(int)’:
burgers.cpp:6:16: error: ‘INT_MAX’ was not declared in this scope
6 | int minI = INT_MAX;
| ^~~~~~~
burgers.cpp:2:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 |
burgers.cpp:7:25: error: ‘arr’ was not declared in this scope
7 | for (int i = 0; i < arr.size(); i++) {
| ^~~
burgers.cpp: In function ‘int main()’:
burgers.cpp:17:5: error: ‘vector’ was not declared in this scope
17