Borderou de evaluare (job #2838438)
Utilizator | Data | 23 ianuarie 2022 17:01:49 | |
---|---|---|---|
Problema | Miting | 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:34:13: error: 'INT_MAX' was not declared in this scope
34 | int mnx = INT_MAX, mxx = 0, mny = INT_MAX, mxy = 0;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <algorithm>
+++ |+#include <climits>
3 |
main.cpp:39:9: error: 'mny' was not declared in this scope; did you mean 'mnx'?
39 | mny = min(mny, j);
| ^~~
| mnx
main.cpp:40:9: error: 'mxx' was not declared in this scope; did you mean 'mnx'?
40 | mxx = max(mxx, i);
| ^~~
| mnx
main.cpp:41:9: error: 'mxy' was not declared in this scope
41 | mxy = max(mxy, j);
| ^~~
main.cpp:45:10: error: 'mxx' was not declared in this scope; did you mean 'mnx'?
45 | cout<<(mxx - mnx + 1) * (mxy - mny + 1);
| ^~~
| mnx
main.cpp:45:28: error: 'mxy' was not declared in this scope
45 | cout<<(mxx - mnx + 1) * (mxy - mny + 1);
| ^~~
main.cpp:45:34: error: 'mny' was not declared in this scope; did you mean 'mnx'?
45 | cout<<(mxx - mnx + 1) * (mxy - mny + 1);
| ^~~
| mnx
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !