Borderou de evaluare (job #2815945)

Utilizator vladutzu_finutzuVlad Cacenschi vladutzu_finutzu Data 10 decembrie 2021 17:47:37
Problema Secv7 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main(int, const char**)': main.cpp:37:13: error: 'INT_MAX' was not declared in this scope 37 | int sol=INT_MAX, solX = 0, solY = 0; | ^~~~~~~ main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 2 | #include <stack> +++ |+#include <climits> 3 | using namespace std; main.cpp:51:43: error: 'solX' was not declared in this scope; did you mean 'sol'? 51 | sol = v[x] + maxi + v[n], solX = i, solY = j1; | ^~~~ | sol main.cpp:51:53: error: 'solY' was not declared in this scope; did you mean 'sol'? 51 | sol = v[x] + maxi + v[n], solX = i, solY = j1; | ^~~~ | sol main.cpp:53:44: error: 'solX' was not declared in this scope; did you mean 'sol'? 53 | sol = v[x] + v[j2] + maxi, solX=i, solY=j2; | ^~~~ | sol main.cpp:53:52: error: 'solY' was not declared in this scope; did you mean 'sol'? 53 | sol = v[x] + v[j2] + maxi, solX=i, solY=j2; | ^~~~ | sol main.cpp:56:22: error: 'solX' was not declared in this scope; did you mean 'sol'? 56 | cout<<sol<<'\n'<<solX<<" "<<solY; | ^~~~ | sol main.cpp:56:33: error: 'solY' was not declared in this scope; did you mean 'sol'? 56 | cout<<sol<<'\n'<<solX<<" "<<solY; | ^~~~ | sol Non zero exit status: 1

Ceva nu functioneaza?