Borderou de evaluare (job #1814198)

Utilizator Coroian_DavidCoroian David Coroian_David Data 23 noiembrie 2016 18:57:39
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:34: 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
10ms276kbnici pe departe!!0
20ms276kbasa se fac punctele..10
30ms292kbasa se fac punctele..10
40ms300kbasa se fac punctele..10
58ms588kbasa se fac punctele..10
624ms952kbasa se fac punctele..10
78ms640kbnici pe departe!!0
824ms1132kbasa se fac punctele..10
940ms1528kbasa se fac punctele..10
1044ms1512kbasa se fac punctele..10
Punctaj total80

Ceva nu functioneaza?