Mã chấm: 318620
Main.cc: In function ‘int main()’: Main.cc:30:17: error: ‘INT_MAX’ was not declared in this scope 30 | int min=INT_MAX; | ^~~~~~~ Main.cc:3:1: note: ‘INT_MAX’ is defined in header ‘’; did you forget to ‘#include ’? 2 | #include +++ |+#include 3 | int tinh(int a[],int n,int x,int y,int i) Main.cc:24:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 24 | scanf("%d%d%d",&n,&x,&y); | ~~~~~^~~~~~~~~~~~~~~~~~~ Main.cc:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | scanf("%d",&a[i]); | ~~~~~^~~~~~~~~~~~