Borderou de evaluare (job #3246383)
Utilizator | Data | 2 octombrie 2024 20:32:38 | |
---|---|---|---|
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:54:17: error: variable 'std::ifstream fin' has initializer but incomplete type
54 | ifstream fin("castel.in");
| ^
main.cpp:55:18: error: variable 'std::ofstream fout' has initializer but incomplete type
55 | ofstream fout("castel.out");
| ^
main.cpp:105:35: error: 'INT_MAX' was not declared in this scope
105 | int meret=0, minx=INT_MAX, maxx=0, miny=INT_MAX, maxy=0;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <queue>
+++ |+#include <climits>
3 |
main.cpp:113:21: error: 'miny' was not declared in this scope; did you mean 'minx'?
113 | miny=min(miny, y);
| ^~~~
| minx
main.cpp:114:21: error: 'maxx' was not declared in this scope; did you mean 'maxi'?
114 | maxx=max(maxx, x);
| ^~~~
| maxi
main.cpp:115:21: error: 'maxy' was not declared in this scope; did you mean 'maxi'?
115 | maxy=max(maxy, y);
| ^~~~
| maxi
main.cpp:140:31: error: 'miny' was not declared in this scope; did you mean 'minx'?
140 | sarkak[1]=miny;
| ^~~~
| minx
main.cpp:141:31: error: 'maxx' was not declared in this scope; did you mean 'maxi'?
141 | sarkak[2]=maxx;
| ^~~~
| maxi
main.cpp:142:31: error: 'maxy' was not declared in this scope; did you mean 'maxi'?
142 | 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 !