Borderou de evaluare (job #3256490)
Utilizator | Data | 14 noiembrie 2024 18:22:59 | |
---|---|---|---|
Problema | RangeMode | 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:38:15: error: 'sqrt' was not declared in this scope
38 | int rad = sqrt(n - 1) + 1;
| ^~~~
main.cpp:47:20: error: 'INT_MIN' was not declared in this scope
47 | maxi = INT_MIN;
| ^~~~~~~
main.cpp:5:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <vector>
+++ |+#include <climits>
5 |
main.cpp:77:16: error: 'INT_MIN' was not declared in this scope
77 | maxi = INT_MIN;
| ^~~~~~~
main.cpp:77:16: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:75:13: warning: unused variable 'q' [-Wunused-variable]
75 | int q = (nr + 1) * rad;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !