Borderou de evaluare (job #345911)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cladiri2 (clasa a 8-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 ian. 2018 19:48:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'getlevel':
main.c:13:15: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
13 | return max2(abs(long1 - long2), abs(lat1 - lat2));
| ^~~
main.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
2 | #include <math.h>
+++ |+#include <stdlib.h>
3 |
main.c: In function 'main':
main.c:25:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin, "%d %d %d", &eqcLong, &eqcLat, &eqIntensity);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Testele acestui job nu corespund cu structura problemei. Probabil problema a fost editată după trimiterea acestui job. Detalii:
- Testul 11 nu există.
- Testul 12 nu există.
- Testul 13 nu există.
- Testul 14 nu există.
- Testul 15 nu există.
- Testul 16 nu există.
- Testul 17 nu există.
- Testul 18 nu există.
- Testul 19 nu există.
Test | Timp execuție | Memorie folosită | Mesaj | Punctaj/test |
---|---|---|---|---|
1 | 0 ms | 244 kb | OK | 10 |
2 | 0 ms | 248 kb | OK | 10 |
3 | 0 ms | 240 kb | OK | 10 |
4 | 0 ms | 244 kb | OK | 10 |
5 | 0 ms | 240 kb | OK | 10 |
6 | 0 ms | 244 kb | OK | 10 |
7 | 36 ms | 248 kb | OK | 10 |
8 | 0 ms | 260 kb | OK | 10 |
9 | 0 ms | 252 kb | OK | 10 |
10 | 8 ms | 268 kb | OK | 10 |
11 | N/A | N/A | N/A | N/A |
12 | N/A | N/A | N/A | N/A |
13 | N/A | N/A | N/A | N/A |
14 | N/A | N/A | N/A | N/A |
15 | N/A | N/A | N/A | N/A |
16 | N/A | N/A | N/A | N/A |
17 | N/A | N/A | N/A | N/A |
18 | N/A | N/A | N/A | N/A |
19 | N/A | N/A | N/A | N/A |
Punctaj total | 0 |