Borderou de evaluare (job #2899085)
Utilizator | Data | 7 mai 2022 18:37:55 | |
---|---|---|---|
Problema | Zeap | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int min_dif(std::set<int>&)':
main.cpp:7:16: error: 'INT_MAX' was not declared in this scope
7 | int min_dif = INT_MAX;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <set>
+++ |+#include <climits>
3 |
main.cpp: In function 'int main()':
main.cpp:25:4: error: 'strcpy' was not declared in this scope
25 | strcpy(instructiune, instructiune + 2);
| ^~~~~~
main.cpp:3:1: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <set>
+++ |+#include <cstring>
3 |
main.cpp:32:4: error: 'strcpy' was not declared in this scope
32 | strcpy(instructiune, instructiune + 2);
| ^~~~~~
main.cpp:32:4: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
main.cpp:39:4: error: 'strcpy' was not declared in this scope
39 | strcpy(instructiune, instructiune + 2);
| ^~~~~~
main.cpp:39:4: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !