Borderou de evaluare (job #2832933)
Utilizator | Data | 14 ianuarie 2022 15:10:49 | |
---|---|---|---|
Problema | Numere Prime | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:31:19: error: invalid conversion from 'unsigned int*' to 'int*' [-fpermissive]
31 | fout<<gasire_n(numere_prime, k);
| ^~~~~~~~~~~~
| |
| unsigned int*
main.cpp:9:27: note: initializing argument 1 of 'unsigned int gasire_n(int*, int)'
9 | unsigned int gasire_n(int numere_prime[], int k);
| ~~~~^~~~~~~~~~~~~~
main.cpp: In function 'unsigned int gasire_n(int*, int)':
main.cpp:38:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
38 | for(j = 0; j < k; j++){
| ~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !