Borderou de evaluare (job #1607411)

Utilizator alex72101Sfat Alexandru alex72101 Data 21 februarie 2016 04:24:47
Problema Pascal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d %d",&linie,&numar); ^ user.cpp:10:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:47:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",nr); ^ user.cpp:10:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&linie,&numar); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOk!10
2124ms58852kbOk!10
368ms29568kbOk!10
484ms39336kbOk!10
544ms20676kbOk!10
60ms264kbOk!10
70ms268kbOk!10
80ms1444kbOk!10
90ms272kbOk!10
10136ms58848kbOk!10
Punctaj total100

Ceva nu functioneaza?