Problem | maximum |
---|---|
User | sawntoe |
Submission Time | 2023-01-20 16:36:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp: In function ‘int main()’:
maximum.cpp:4:2: error: ‘malloc’ was not declared in this scope
4 | malloc(-1);
| ^~~~~~
maximum.cpp:2:1: note: ‘malloc’ is defined in header ‘<cstdlib>’; did you forget to ‘#include <cstdlib>’?
1 | #include <stdio.h>
+++ |+#include <cstdlib>
2 |