Borderou de evaluare (job #1656895)

Utilizator George97George Linut George97 Data 19 martie 2016 22:44:50
Problema Pitici4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:18:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(in,"%d",&n); ^ user.cpp:22:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(in,"%d %d",&l1,&l2); ^ user.cpp:22:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:67:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(out,"%d",maxx); ^ user.cpp: In function ‘void read()’: user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:22:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d",&l1,&l2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbIncorect0
20ms456kbIncorect0
30ms484kbIncorect0
44ms508kbIncorect0
54ms512kbIncorect0
6Depăşit1976kbTime limit exceeded.0
796ms1628kbIncorect0
8Depăşit1976kbTime limit exceeded.0
9Depăşit1976kbTime limit exceeded.0
10Depăşit1976kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?