Borderou de evaluare (job #3138910)

Utilizator not_anduAndu Scheusan not_andu Data 23 iunie 2023 12:58:59
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:16:30: error: 'INT_MIN' was not declared in this scope 16 | int n, k, v[VMAX], min_max = INT_MIN, poz = -1; | ^~~~~~~ main.cpp:4:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? 3 | #include <algorithm> +++ |+#include <climits> 4 | main.cpp: In function 'void solve()': main.cpp:43:17: error: 'poz' was not declared in this scope 43 | poz = dq.back(); | ^~~ main.cpp:48:13: error: 'poz' was not declared in this scope 48 | fout << poz << " " << poz + k - 1 << " " << min_max << '\n'; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?