Borderou de evaluare (job #1888532)

Utilizator filip.mihalutMihalut Filip filip.mihalut Data 22 februarie 2017 10:29:04
Problema Arbxyz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:78: error: conflicting declaration ‘long long int s’ int xyz[5] ,cost[dim], cost2[dim],rad , i , x , y, s , q, t , poz; long long s; ^ user.cpp:14:52: error: ‘s’ has a previous declaration as ‘int s’ int xyz[5] ,cost[dim], cost2[dim],rad , i , x , y, s , q, t , poz; long long s; ^ user.cpp: In function ‘void read()’: user.cpp:20:25: error: ‘n’ was not declared in this scope for(i = 1; i <= n; i++) ^ user.cpp:25:10: error: ‘n’ was not declared in this scope f >> n >> xyz[1] >> xyz[2] >> xyz[3]; ^ user.cpp: In function ‘void rez()’: user.cpp:72:16: error: ‘n’ was not declared in this scope xyz[poz] = n - s; ^

Ceva nu functioneaza?