Problem minimum
User vippy
Submission Time 2024-05-04 14:38:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:3: error: ‘printf’ was not declared in this scope
5 | printf("The function will return %d.", mn);
| ^~~~~~
minimum.cpp:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | int findMin(int N, int A[]) {