Borderou de evaluare (job #1371265)

Utilizator maribMarilena Bescuca marib Data 3 martie 2015 20:15:21
Problema Bemo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘short int marcheaza()’: user.cpp:42:15: warning: variable ‘c1’ set but not used [-Wunused-but-set-variable] short l1, c1, l2, c2, la, ca; ^ user.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:61: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:61:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:66:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(infile, "%d", &nr); ^ user.cpp:98:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(outfile, "%d ", (*it).val); ^ user.cpp:61: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:66: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
10ms468kbOK10
28ms984kbOK10
336ms1836kbOK10
4180ms4024kbOK10
5668ms7180kbOK10
6988ms9100kbOK10
7Depăşit10704kbTime limit exceeded.0
8760ms13028kbOK10
9776ms13376kbOK10
10840ms13556kbOK10
Punctaj total90

Ceva nu functioneaza?