Borderou de evaluare (job #1371194)

Utilizator maribMarilena Bescuca marib Data 3 martie 2015 19:50:44
Problema Bemo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(infile, "%d %d", &r, &p); ^ user.cpp:57:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:62:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(infile, "%d", &nr); ^ user.cpp:88:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(outfile, "%d ", (*it).val); ^ user.cpp:57:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%d %d", &r, &p); ^ user.cpp:62:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%d", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
212ms408kbOK10
340ms668kbOK10
4196ms1952kbOK10
5488ms4248kbOK10
6676ms5560kbOK10
7864ms6964kbOK10
8Depăşit8796kbTime limit exceeded.0
9Depăşit8972kbTime limit exceeded.0
10Depăşit9136kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?