Borderou de evaluare (job #739569)

Utilizator avatar game_difficulty Calin Crangus game_difficulty IP ascuns
Problemă V (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 oct. 2023 12:51:55 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:27:22: error: 'INT_MIN' was not declared in this scope 27 | int maxsum = INT_MIN, pos, len; | ^~~~~~~ main.cpp:2:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? 1 | #include <fstream> +++ |+#include <climits> 2 | main.cpp:36:33: error: 'pos' was not declared in this scope 36 | pos = j; | ^~~ main.cpp:37:33: error: 'len' was not declared in this scope 37 | len = o + 1; | ^~~ main.cpp:41:34: error: 'pos' was not declared in this scope 41 | cout << maxsum << ' ' << pos << ' ' << len; | ^~~ main.cpp:41:48: error: 'len' was not declared in this scope 41 | cout << maxsum << ' ' << pos << ' ' << len; | ^~~