Borderou de evaluare (job #3326083)

Utilizator ioanablidaruBlidaru Ioana ioanablidaru Data 27 noiembrie 2025 12:38:10
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:27:13: error: 'INT_MIN' was not declared in this scope 27 | int max=INT_MIN,poz2; | ^~~~~~~ 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:30:9: error: 'poz2' was not declared in this scope; did you mean 'poz'? 30 | poz2=i;} | ^~~~ | poz main.cpp:32:11: error: 'poz2' was not declared in this scope; did you mean 'poz'? 32 | while(poz2!=-1) | ^~~~ | poz Non zero exit status: 1

Ceva nu functioneaza?