Borderou de evaluare (job #1371175)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56: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:56:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:61:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(infile, "%d", &nr); ^ user.cpp:87:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(outfile, "%d ", (*it).val); ^ user.cpp:56: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:61: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
10ms296kbOK10
216ms412kbOK10
348ms668kbOK10
4252ms1944kbOK10
5692ms4252kbOK10
6852ms5552kbOK10
7Depăşit6940kbTime limit exceeded.0
8Depăşit8772kbTime limit exceeded.0
9Depăşit8956kbTime limit exceeded.0
10Depăşit9124kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?