Borderou de evaluare (job #1254268)

Utilizator gbibBacotiu Gabi gbib Data 2 noiembrie 2014 14:13:51
Problema Submat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(in, "%ld %ld", &n, &m); ^ user.cpp:11:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:17:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(in,"%ld", &x); ^ user.cpp:30:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(out, "%ld\n", mx); ^ user.cpp:11:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld %ld", &n, &m); ^ user.cpp:17:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%ld", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms260kbOK10
30ms264kbOK10
40ms268kbOK10
50ms264kbOK10
60ms268kbOK10
70ms264kbOK10
816ms260kbOK10
972ms268kbOK10
10168ms264kbOK10
Punctaj total100

Ceva nu functioneaza?