Borderou de evaluare (job #2023405)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 18 septembrie 2017 21:41:26
Problema Cuburi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:24: error: ISO C++ forbids declaration of ‘min’ with no type [-fpermissive] inline min(int a, int b){ ^ user.cpp:14:24: error: ISO C++ forbids declaration of ‘max’ with no type [-fpermissive] inline max(int a, int b){ ^ user.cpp: In function ‘int main()’: user.cpp:28:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fi,"%d", &C[i]); ^ user.cpp:24:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &n, &m); ^ user.cpp:28:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &C[i]); ^ user.cpp:42:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &a, &b); ^

Ceva nu functioneaza?