Borderou de evaluare (job #2146691)

Utilizator tiberiu392Tiberiu Ungurianu tiberiu392 Data 28 februarie 2018 09:58:30
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:16:14: error: ‘x’ was not declared in this scope f >> x[i]; ^ user.cpp:18:13: error: ‘x’ was not declared in this scope if( x[i]>='a'&& x[i]<='z') ^ user.cpp:19:9: error: ‘y’ was not declared in this scope y[i] = x[i]-32; ^ user.cpp:21:9: error: ‘y’ was not declared in this scope y[i] = x[i]+32; ^ 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:30:13: error: ‘x’ 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:31:13: error: ‘y’ 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:41:24: error: ‘x’ 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:46:24: error: ‘y’ was not declared in this scope sol += fr2[y[n]-'A'][n];

Ceva nu functioneaza?