Pagini recente » Cod sursa (job #832385) | Borderou de evaluare (job #1456163) | Borderou de evaluare (job #156661) | Cod sursa (job #351455) | Borderou de evaluare (job #1814187)
Borderou de evaluare (job #1814187)
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 |
| 1 | 0ms | 264kb | nici pe departe!! | 0 |
| 2 | 0ms | 268kb | asa se fac punctele.. | 10 |
| 3 | 0ms | 288kb | asa se fac punctele.. | 10 |
| 4 | 0ms | 292kb | asa se fac punctele.. | 10 |
| 5 | 8ms | 584kb | asa se fac punctele.. | 10 |
| 6 | 20ms | 944kb | asa se fac punctele.. | 10 |
| 7 | 8ms | 628kb | nici pe departe!! | 0 |
| 8 | 20ms | 1124kb | asa se fac punctele.. | 10 |
| 9 | 32ms | 1516kb | asa se fac punctele.. | 10 |
| 10 | 36ms | 1508kb | asa se fac punctele.. | 10 |
| Punctaj total | 80 |