Borderou de evaluare (job #2401697)

Utilizator SmokeCiocotisan Cosmin Smoke Data 9 aprilie 2019 22:21:50
Problema Aranjare3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int cauta_locatie(stive*, int, int)': main.cpp:97:19: error: 'INT_MAX' was not declared in this scope int dif_minima = INT_MAX; ^~~~~~~ main.cpp: In function 'void creaza_stive(stive*, int&, Nperechi&)': main.cpp:119:20: error: 'INT_MAX' was not declared in this scope int minim_lista = INT_MAX; ^~~~~~~ main.cpp: In function 'void creaza_stiva_descrescator(stive*, int&, long int, Nperechi&)': main.cpp:215:15: error: 'INT_MIN' was not declared in this scope int maxim = INT_MIN; ^~~~~~~ main.cpp: In function 'int main()': main.cpp:276:6: warning: unused variable 'M' [-Wunused-variable] int M = 0, K = 0; ^ main.cpp:276:13: warning: unused variable 'K' [-Wunused-variable] int M = 0, K = 0; ^ Non zero exit status: 1

Ceva nu functioneaza?