Borderou de evaluare (job #819041)

Utilizator avatar mhnnnnn Grigoruta Mihnea Theodor mhnnnnn IP ascuns
Problemă Cifre7 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 6 apr. 2025 23:36:33 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:50:21: warning: unused variable 'nrcc1' [-Wunused-variable] 50 | int nrcc1=nrc; | ^~~~~ main.cpp:58:21: warning: unused variable 'nrcc2' [-Wunused-variable] 58 | int nrcc2=nrc; | ^~~~~ main.cpp:65:28: error: 'nrcc1' was not declared in this scope; did you mean 'nrc'? 65 | for(int l=1;l<=nrcc1;l++){ | ^~~~~ | nrc main.cpp:66:32: error: 'nrcc2' was not declared in this scope; did you mean 'nrc'? 66 | for(int d=1;d<=nrcc2;d++) { | ^~~~~ | nrc main.cpp:68:49: error: 'nrc1' was not declared in this scope; did you mean 'nrc'? 68 | while(l+k<nrcc1 && d+k<nrcc2 && nrc1[l+k]==nrc2[d+k]){ | ^~~~ | nrc main.cpp:68:60: error: 'nrc2' was not declared in this scope; did you mean 'nrc'? 68 | while(l+k<nrcc1 && d+k<nrcc2 && nrc1[l+k]==nrc2[d+k]){ | ^~~~ | nrc main.cpp:71:26: error: 'max_len' was not declared in this scope 71 | if(k>max_len) | ^~~~~~~ main.cpp:74:25: error: 'start_nrc' was not declared in this scope 74 | start_nrc=i; | ^~~~~~~~~ main.cpp:78:13: error: 'f' was not declared in this scope 78 | f=0; | ^ main.cpp:80:16: error: 'max_len' was not declared in this scope 80 | if(max_len > 0) | ^~~~~~~ main.cpp:85:25: error: 'a' was not declared in this scope 85 | nrf=a[start_a+i]; | ^ main.cpp:85:27: error: 'start_a' was not declared in this scope 85 | nrf=a[start_a+i]; | ^~~~~~~ main.cpp:89:32: error: 'a' was not declared in this scope 89 | nrf=nrf*10+a[start_a+i]; | ^ main.cpp:89:34: error: 'start_a' was not declared in this scope 89 | nrf=nrf*10+a[start_a+i]; | ^~~~~~~ main.cpp:98:13: error: 'out' was not declared in this scope; did you mean 'fout'? 98 | if(p==1)out<<st; | ^~~