Borderou de evaluare (job #2724813)
Utilizator | Data | 17 martie 2021 21:55:06 | |
---|---|---|---|
Problema | Vila 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:34: error: 'INT_MIN' was not declared in this scope
int n,varste[100000],i,j,dif_max=INT_MIN,m,k,dif_curent;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:11: error: 'k' was not declared in this scope
f>>n>>k;
^
main.cpp:10:5: error: 'm' was not declared in this scope
m=k+1;
^
main.cpp:19:17: error: 'dif_curent' was not declared in this scope
dif_curent=varste[i]-varste[j];
^~~~~~~~~~
main.cpp:21:17: error: 'dif_curent' was not declared in this scope
dif_curent=varste[j]-varste[i];
^~~~~~~~~~
main.cpp:22:16: error: 'dif_curent' was not declared in this scope
if(dif_curent>dif_max)
^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !