Borderou de evaluare (job #3351648)

Utilizator JohnPersona5John Doe JohnPersona5 Data 20 aprilie 2026 18:20:31
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:17: error: 'INT_MAX' was not declared in this scope 10 | const int INF = INT_MAX; | ^~~~~~~ main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 3 | #include <algorithm> +++ |+#include <climits> 4 | using namespace std; main.cpp: In function 'int main()': main.cpp:55:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 55 | if (Ivory = n) { | ~~~~~~^~~ Non zero exit status: 1

Ceva nu functioneaza?