Borderou de evaluare (job #1370391)
Utilizator | Data | 3 martie 2015 14:15:23 | |
---|---|---|---|
Problema | Pav | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void SetUp()’:
user.cpp:13:9: error: ‘ok’ was not declared in this scope
ok = 1;
^
user.cpp: In function ‘void Paveaza()’:
user.cpp:20:8: error: ‘ok’ was not declared in this scope
if(ok == 1) return
^
user.cpp:21:5: error: ‘nr’ was not declared in this scope
nr = 0;
^
user.cpp:21:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
nr = 0;
^
user.cpp:22:21: error: ‘n’ was not declared in this scope
for(i = 1; i <= n / 2 - 2; i += 2){
^
user.cpp:23:9: error: ‘nr’ was not declared in this scope
nr ++;
^
user.cpp:24:9: error: ‘a’ was not declared in this scope
a[i][i+1] = nr;
^
user.cpp:29:21: error: ‘n’ was not declared in this scope
for(i = 1; i <= n / 2 - 2; i += 2){
^
user.cpp:30:9: error: ‘nr’ was not declared in this scope
nr ++;
^
user.cpp:31:9: error: ‘a’ was not declared in this scope
a[i][n-i] = nr;
^
user.cpp:36:13: error: ‘n’ was not declared in this scope
for(i = n; i >= n / 2 + 2; i -= 2){
^
user.cpp:37:9: error: ‘nr’ was not declared in this scope
nr ++;
^
user.cpp:38:9: error: ‘a’ was not declared in this scope
a[i][n-i+2] = nr;
^
user.cpp:43:13: error: ‘n’ was not declared in this scope
for(i = n; i >= n / 2 + 2; i -= 2){
^
user.cpp:44:9: error: ‘nr’ was not declared in this scope
nr ++;
^
user.cpp:45:9: error: ‘a’ was not declared in this scope
a[i][i-1] = nr;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !