Borderou de evaluare (job #2105472)

Utilizator stefanchistefan chiper stefanchi Data 13 ianuarie 2018 13:40:19
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void CreateMat(int, int)’: user.cpp:17:16: error: ‘a’ was not declared in this scope if(a[j] == b[i]) ^ user.cpp:17:24: error: ‘b’ was not declared in this scope if(a[j] == b[i]) ^ user.cpp:13:9: warning: unused variable ‘x’ [-Wunused-variable] int x,y; ^ user.cpp:13:11: warning: unused variable ‘y’ [-Wunused-variable] int x,y; ^ user.cpp: In function ‘int Solution(int, int)’: user.cpp:32:12: error: ‘a’ was not declared in this scope if(a[j] == b[i]) ^ user.cpp:32:20: error: ‘b’ was not declared in this scope if(a[j] == b[i]) ^ user.cpp: At global scope: user.cpp:54:1: error: ‘Void’ does not name a type Void PrintSolution(int nrelem) ^ user.cpp: In function ‘int main()’: user.cpp:76:25: error: ‘PrintSolution’ was not declared in this scope PrintSolution(nrelem); ^ user.cpp: In function ‘void Preparation(int&, int&)’: user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n1,&n2); ^ user.cpp:64:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&sir1[i]); ^ user.cpp:66:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&sir2[i]); ^

Ceva nu functioneaza?