Borderou de evaluare (job #3230565)
Utilizator | Data | 21 mai 2024 21:43:44 | |
---|---|---|---|
Problema | Pikachu | 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:25:23: error: 'round' was not declared in this scope
25 | avg.push_back(round(double(sum) / k));
| ^~~~~
main.cpp:30:24: error: 'INT_MAX' was not declared in this scope
30 | long long mini=INT_MAX;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <vector>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i = 1; i < avg.size(); i++) {
| ~~^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !