Borderou de evaluare (job #3241578)

Utilizator PescarusTanislav Luca Andrei Pescarus Data 31 august 2024 18:05:34
Problema Secv7 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:11: error: 'INT_MAX' was not declared in this scope 9 | int sol = INT_MAX, isol, jsol; | ^~~~~~~ main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 2 | #include <fstream> +++ |+#include <climits> 3 | using namespace std; main.cpp: In function 'int main()': main.cpp:19:17: error: 'INT_MIN' was not declared in this scope 19 | int maxst = INT_MIN; | ^~~~~~~ main.cpp:19:17: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:26:13: error: 'isol' was not declared in this scope; did you mean 'sol'? 26 | isol = i; | ^~~~ | sol main.cpp:27:13: error: 'jsol' was not declared in this scope; did you mean 'sol'? 27 | jsol = n - 1; | ^~~~ | sol main.cpp:32:13: error: 'isol' was not declared in this scope; did you mean 'sol'? 32 | isol = i; | ^~~~ | sol main.cpp:33:13: error: 'jsol' was not declared in this scope; did you mean 'sol'? 33 | jsol = i + 1; | ^~~~ | sol main.cpp:37:10: error: 'isol' was not declared in this scope; did you mean 'sol'? 37 | g << isol << ' ' << jsol; | ^~~~ | sol main.cpp:37:25: error: 'jsol' was not declared in this scope; did you mean 'sol'? 37 | g << isol << ' ' << jsol; | ^~~~ | sol Non zero exit status: 1

Ceva nu functioneaza?