Borderou de evaluare (job #2852909)

Utilizator Teodor94Teodor Plop Teodor94 Data 19 februarie 2022 18:05:00
Problema Subsiruri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:22:5: error: 'v' was not declared in this scope 22 | v[i] = fgetc(fin) == 'a'; | ^ main.cpp:30:9: error: 'v1' was not declared in this scope 30 | v1[v1Len++] = v[i]; | ^~ main.cpp:30:23: error: 'v' was not declared in this scope 30 | v1[v1Len++] = v[i]; | ^ main.cpp:32:9: error: 'v2' was not declared in this scope 32 | v2[v2Len++] = v[i]; | ^~ main.cpp:32:23: error: 'v' was not declared in this scope 32 | v2[v2Len++] = v[i]; | ^ main.cpp:36:26: error: 'v1' was not declared in this scope 36 | while (i < minLen && v1[i] == v2[i]) | ^~ main.cpp:36:35: error: 'v2' was not declared in this scope 36 | while (i < minLen && v1[i] == v2[i]) | ^~ main.cpp:45:41: error: 'v1' was not declared in this scope 45 | secondMask = secondMask * 2 + v1[i]; | ^~ main.cpp:52:41: error: 'v2' was not declared in this scope 52 | secondMask = secondMask * 2 + v2[i]; | ^~ main.cpp:65:9: error: 'v1' was not declared in this scope 65 | v1[v1Len++] = v[i]; | ^~ main.cpp:65:23: error: 'v' was not declared in this scope 65 | v1[v1Len++] = v[i]; | ^ main.cpp:67:9: error: 'v2' was not declared in this scope 67 | v2[v2Len++] = v[i]; | ^~ main.cpp:67:23: error: 'v' was not declared in this scope 67 | v2[v2Len++] = v[i]; | ^ main.cpp:71:26: error: 'v1' was not declared in this scope 71 | while (i < minLen && v1[i] == v2[i]) | ^~ main.cpp:71:35: error: 'v2' was not declared in this scope 71 | while (i < minLen && v1[i] == v2[i]) | ^~ main.cpp:80:41: error: 'v1' was not declared in this scope 80 | secondMask = secondMask * 2 + v1[i]; | ^~ main.cpp:87:41: error: 'v2' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?