Borderou de evaluare (job #1151666)
Utilizator | Data | 24 martie 2014 11:50:53 | |
---|---|---|---|
Problema | Palindrom3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:1: error: expected initializer before ‘string’
string n,x;
^
user.cpp: In function ‘int main()’:
user.cpp:15:12: error: ‘n’ was not declared in this scope
f>>n>>k;
^
user.cpp:17:9: error: ‘N’ was not declared in this scope
N=n.length()/2;
^
user.cpp:33:35: error: ‘x’ was not declared in this scope
if(c[nr][j] && nr!=j) { x[i]=j+'0'; break; }
^
user.cpp:34:27: error: ‘x’ was not declared in this scope
else if(nr==j){ x[i]=j+'0'; break; }
^
user.cpp:38:12: error: ‘x’ was not declared in this scope
g<<x[i];
^
user.cpp:40:12: error: ‘x’ was not declared in this scope
g<<x[N-i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !