Borderou de evaluare (job #3246384)
Utilizator | Data | 2 octombrie 2024 20:33:08 | |
---|---|---|---|
Problema | Castel3 | 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:106:35: error: 'INT_MAX' was not declared in this scope
106 | int meret=0, minx=INT_MAX, maxx=0, miny=INT_MAX, maxy=0;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <fstream>
+++ |+#include <climits>
4 |
main.cpp:114:21: error: 'miny' was not declared in this scope; did you mean 'minx'?
114 | miny=min(miny, y);
| ^~~~
| minx
main.cpp:115:21: error: 'maxx' was not declared in this scope; did you mean 'maxi'?
115 | maxx=max(maxx, x);
| ^~~~
| maxi
main.cpp:116:21: error: 'maxy' was not declared in this scope; did you mean 'maxi'?
116 | maxy=max(maxy, y);
| ^~~~
| maxi
main.cpp:141:31: error: 'miny' was not declared in this scope; did you mean 'minx'?
141 | sarkak[1]=miny;
| ^~~~
| minx
main.cpp:142:31: error: 'maxx' was not declared in this scope; did you mean 'maxi'?
142 | sarkak[2]=maxx;
| ^~~~
| maxi
main.cpp:143:31: error: 'maxy' was not declared in this scope; did you mean 'maxi'?
143 | sarkak[3]=maxy;
| ^~~~
| maxi
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !