Borderou de evaluare (job #1814187)

Utilizator Coroian_DavidCoroian David Coroian_David Data 23 noiembrie 2016 18:46:32
Problema Tribute Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void readFile()’: user.cpp:31:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%d%d", &x[i], &y[i]); ^ user.cpp:31:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void solve()’: user.cpp:39:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘void readFile()’: user.cpp:27:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%lld%lld", &n, &lx, &ly); ^ user.cpp:31:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &x[i], &y[i]); ^ user.cpp: In function ‘void solve()’: user.cpp:61:33: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized] while(last < n && x[last] < i + lx) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbnici pe departe!!0
20ms268kbasa se fac punctele..10
30ms288kbasa se fac punctele..10
40ms292kbasa se fac punctele..10
58ms584kbasa se fac punctele..10
620ms944kbasa se fac punctele..10
78ms628kbnici pe departe!!0
820ms1124kbasa se fac punctele..10
932ms1516kbasa se fac punctele..10
1036ms1508kbasa se fac punctele..10
Punctaj total80

Ceva nu functioneaza?