Borderou de evaluare (job #2202421)
Utilizator | Data | 8 mai 2018 18:59:23 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cel_mai_lung_subsir_comun(int*, int*, int, int)’:
user.cpp:11:23: warning: variable ‘pozB’ set but not used [-Wunused-but-set-variable]
int cmax = 0, c,pozA,pozB,i=0,j=0;
^~~~
user.cpp:19:8: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
c++;
^
/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib32/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !