| Problem | burgers |
|---|---|
| User | highdelao |
| Submission Time | 2025-02-21 00:49:04 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
burgers.cpp: In function ‘int main()’:
burgers.cpp:5:5: error: ‘ios’ has not been declared
5 | ios::sync_with_stdio(false);
| ^~~
burgers.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin.tie(NULL);
| ^~~
burgers.cpp:6:13: error: ‘NULL’ was not declared in this scope
6 | cin.tie(NULL);
| ^~~~
burgers.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | // Define long long properly
burgers.cpp:7:5: error: ‘cout’ was not declared in this scope
7 | cout.tie(NULL);
| ^~~~
burgers.cpp:12:5: error: ‘vector’ was not declared in this scope
12 | vector<int> ingredients(N);
| ^~~~~~
burgers.cpp:12:12: error: expected primary-expression before ‘int’
12 | vector<int> ingredients(N);
| ^~~
burgers.