Borderou de evaluare (job #2054114)

Utilizator CroitoruAlinCroitoru Alin CroitoruAlin Data 1 noiembrie 2017 18:37:58
Problema ZParcurgere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:46:14: error: conflicting declaration ‘long int x’ long int x,y; ^ user.cpp:45:13: error: ‘x’ has a previous declaration as ‘int x’ int n,k,x,y; ^ user.cpp:46:16: error: conflicting declaration ‘long int y’ long int x,y; ^ user.cpp:45:15: error: ‘y’ has a previous declaration as ‘int y’ int n,k,x,y; ^ user.cpp: In function ‘int rezolva(int, int, int, int, int, int)’: user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?