Borderou de evaluare (job #3250277)
Utilizator | Data | 19 octombrie 2024 20:59:37 | |
---|---|---|---|
Problema | Nrcuv1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void scadere(std::vector<int>&, std::vector<int>&)':
main.cpp:36:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(!A[j] && j < A.size())
| ~~^~~~~~~~~~
main.cpp: In function 'void afis(std::vector<int>&)':
main.cpp:50:5: error: 'cout' was not declared in this scope
50 | cout << A.back();
| ^~~~
main.cpp:4:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
3 | #include <vector>
+++ |+#include <iostream>
4 |
main.cpp: In function 'int main()':
main.cpp:58:5: error: 'cin' was not declared in this scope
58 | cin >> n;
| ^~~
main.cpp:58:5: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !