Borderou de evaluare (job #1622712)
Utilizator | Data | 1 martie 2016 13:47:24 | |
---|---|---|---|
Problema | Reactivi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:2: error: ‘ok’ was not declared in this scope
ok=1;
^
user.cpp:25:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(ti[i]>ti[i+1] ||ti[i]==ti[i+1] && tf[i]<tf[i+1])
^
user.cpp:29:10: error: ‘ok’ was not declared in this scope
}while(!ok);
^
user.cpp:15:9: warning: unused variable ‘poz’ [-Wunused-variable]
int nf, poz, miny, maxx, aux, i, j, icx, icy,N1;
^
user.cpp:15:34: warning: unused variable ‘j’ [-Wunused-variable]
int nf, poz, miny, maxx, aux, i, j, icx, icy,N1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !