Borderou de evaluare (job #2921938)
Utilizator | Data | 2 septembrie 2022 14:33:56 | |
---|---|---|---|
Problema | Traseu2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:19:14: error: 'INT_MAX' was not declared in this scope
19 | int i,mmin=INT_MAX,lm=l,cm=c;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <vector>
+++ |+#include <climits>
4 | using namespace std;
main.cpp:27:7: error: 'lm' was not declared in this scope; did you mean 'l'?
27 | lm=x;
| ^~
| l
main.cpp:28:7: error: 'cm' was not declared in this scope; did you mean 'c'?
28 | cm=y;
| ^~
| c
main.cpp:31:11: error: 'lm' was not declared in this scope; did you mean 'l'?
31 | if(!poz[lm][cm]){
| ^~
| l
main.cpp:31:15: error: 'cm' was not declared in this scope; did you mean 'c'?
31 | if(!poz[lm][cm]){
| ^~
| c
main.cpp: In function 'int main()':
main.cpp:47:10: error: 'INT_MAX' was not declared in this scope
47 | mmin=INT_MAX;
| ^~~~~~~
main.cpp:47:10: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !