Borderou de evaluare (job #1637868)

Utilizator radu.leonardoThe Doctor radu.leonardo Data 7 martie 2016 19:44:29
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int findMin(int, int)’: user.cpp:32:14: warning: variable ‘ma’ set but not used [-Wunused-but-set-variable] int k=0, ma; ^ user.cpp: In function ‘int main()’: user.cpp:64:11: error: invalid initialization of reference of type ‘long unsigned int&’ from expression of type ‘long int’ read(n); ^ user.cpp:15:13: error: in passing argument 1 of ‘void read(long unsigned int&)’ inline void read(unsigned long int &nr) ^ user.cpp:68:20: error: invalid initialization of reference of type ‘long unsigned int&’ from expression of type ‘long int’ read(m[0][i]); ^ user.cpp:15:13: error: in passing argument 1 of ‘void read(long unsigned int&)’ inline void read(unsigned long int &nr) ^ user.cpp:63:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,20000,stdin); ^

Ceva nu functioneaza?