Borderou de evaluare (job #2656688)

Utilizator VNohaiNohai Vlad-Auras VNohai Data 8 octombrie 2020 12:36:51
Problema 3secv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:33: error: 'INT_MAX' was not declared in this scope long long k, s, s1, s2, s3, sol=INT_MAX, afx, afy, sp[1000010]; ^~~~~~~ main.cpp: In function 'long long int find(int, int)': main.cpp:11:16: error: 'sp' was not declared in this scope return max(sp[x], max(sp[y]-sp[x], sp[n]-sp[y])) - min(sp[x], min(sp[y]-sp[x], sp[n]-sp[y])); ^~ main.cpp: In function 'int main()': main.cpp:21:5: error: 'sp' was not declared in this scope sp[i]=sp[i-1]+k; ^~ main.cpp:29:5: error: 'afx' was not declared in this scope afx=i; afy=j;} ^~~ main.cpp:29:12: error: 'afy' was not declared in this scope afx=i; afy=j;} ^~~ main.cpp:31:11: error: 'afx' was not declared in this scope fout<<afx<<" "<<afy<<" "; ^~~ main.cpp:31:21: error: 'afy' was not declared in this scope fout<<afx<<" "<<afy<<" "; ^~~ Non zero exit status: 1

Ceva nu functioneaza?