Borderou de evaluare (job #1130194)
Utilizator | Data | 28 februarie 2014 11:48:18 | |
---|---|---|---|
Problema | Culori3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cool(int)’:
user.cpp:35:25: error: ‘sol’ was not declared in this scope
if (i==0 && sol[k-1]==1) { sol[k]=i; cool(k+1); }
^
user.cpp:36:26: error: ‘sol’ was not declared in this scope
if (i==1 && (sol[k-1]==0||sol[k-1]==2)) { sol[k]=i; cool(k+1); }
^
user.cpp:37:26: error: ‘sol’ was not declared in this scope
if (i==2 && (sol[k-1]==1||sol[k-1]==3)) { sol[k]=i; cool(k+1); }
^
user.cpp:38:26: error: ‘sol’ was not declared in this scope
if (i==3 && (sol[k-1]==2||sol[k-1]==4)) { sol[k]=i; cool(k+1); }
^
user.cpp:39:26: error: ‘sol’ was not declared in this scope
if (i==4 && (sol[k-1]==3)) { sol[k]=i; cool(k+1); }
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !