Borderou de evaluare (job #2146693)

Utilizator tiberiu392Tiberiu Ungurianu tiberiu392 Data 28 februarie 2018 09:59:22
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:27:13: error: ‘fr1’ was not declared in this scope fr1[j][i] = fr1[j][i-1]; ^ user.cpp:28:13: error: ‘fr2’ was not declared in this scope fr2[j][i] = fr2[j][i-1]; ^ user.cpp:30:9: error: ‘fr1’ was not declared in this scope fr1[x[i]-'A'][i]++; ^ user.cpp:31:9: error: ‘fr2’ was not declared in this scope fr2[y[i]-'A'][i]++; ^ user.cpp: At global scope: user.cpp:35:38: error: redefinition of ‘long long int n’ char divetimp(long long n, long long n, int Switch) ^ user.cpp:35:25: note: ‘long long int n’ previously declared here char divetimp(long long n, long long n, int Switch) ^ user.cpp: In function ‘char divetimp(long long int, int)’: user.cpp:41:20: error: ‘fr1’ was not declared in this scope sol += fr1[x[n]-'A'][n]; ^ user.cpp:46:20: error: ‘fr2’ was not declared in this scope sol += fr2[y[n]-'A'][n]; ^ user.cpp:54:9: error: ‘n1’ was not declared in this scope n1++; ^ user.cpp:57:43: error: too many arguments to function ‘char divetimp(long long int, int)’ return divetimp(n-k, n/4, 1-Switch); ^ user.cpp:35:6: note: declared here char divetimp(long long n, long long n, int Switch) ^ user.cpp:62:9: error: ‘n1’ was not declared in this scope n1++; n++; ^ user.cpp:63:38: error: too many arguments to function ‘char divetimp(long long int, int)’ divetimp(n-2*k, n/4, 1-Switch); ^ user.cpp:35:6: note: declared here char divetimp(long long n, long long n, int Switch) ^ user.cpp:68:13: error: ‘n1’ was not declared in this scope n1++; n+=2; ^ user.cpp:72:18: error: ‘n1’ was not declared in this scope n++; n1+=2;

Ceva nu functioneaza?