Borderou de evaluare (job #1866651)

Utilizator Coroian_DavidCoroian David Coroian_David Data 3 februarie 2017 13:36:24
Problema Gard 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void verif()’: user.cpp:102:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", cost); ^ user.cpp:106:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", stk[i]); ^ user.cpp: In function ‘long long int getCost(long long int, long long int)’: user.cpp:115:15: warning: unused variable ‘mx’ [-Wunused-variable] long long mx = 0; ^ user.cpp: In function ‘void readFile()’: user.cpp:28:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld", &n); ^ user.cpp:41:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbDoar numarul de permutari gresit!5
20ms280kbRaspuns gresit!0
30ms272kbDoar numarul de permutari gresit!5
40ms280kbRaspuns gresit!0
50ms280kbRaspuns gresit!0
60ms276kbRaspuns gresit!0
70ms272kbRaspuns gresit!0
80ms276kbRaspuns gresit!0
90ms276kbRaspuns gresit!0
100ms276kbCorect!10
Punctaj total20

Ceva nu functioneaza?