Borderou de evaluare (job #3164562)
Utilizator | Data | 3 noiembrie 2023 17:54:32 | |
---|---|---|---|
Problema | Secventa | 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:9:18: error: 'INT_MIN' was not declared in this scope
9 | int n,k,max1=INT_MIN,poz=0;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:15:12: error: 'v' was not declared in this scope
15 | if(v[i]>max1){
| ^
main.cpp:17:13: error: 'poz' was not declared in this scope
17 | poz=i;
| ^~~
main.cpp:20:11: error: 'poz' was not declared in this scope
20 | fout<<poz<<" "<<poz+k<<" "<<max1;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !