Borderou de evaluare (job #3233596)
Utilizator | Data | 3 iunie 2024 23:03:23 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'build':
main.c:21:18: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration]
21 | tree[node] = max(tree[2 * node], tree[2 * node + 1]);
| ^~~
/usr/bin/ld: ./ccDOFaSm.o: in function `build.part.0':
main.c:(.text+0x5f): undefined reference to `max'
/usr/bin/ld: ./ccDOFaSm.o: in function `update':
main.c:(.text+0x14a): undefined reference to `max'
/usr/bin/ld: ./ccDOFaSm.o: in function `query':
main.c:(.text+0x1ec): undefined reference to `max'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !