Borderou de evaluare (job #2472444)
Utilizator | Data | 12 octombrie 2019 13:21:02 | |
---|---|---|---|
Problema | Triunghi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int constructie()':
main.cpp:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:74:25: error: 'g' was not declared in this scope
for(int j=1; j<=g; j++)
^
main.cpp:75:13: error: 'ultim' was not declared in this scope
ultim[j] = -1;
^~~~~
main.cpp:77:34: error: 'g' was not declared in this scope
for(int j=0;p[i]+j <=g; j++){
^
main.cpp:78:20: error: 'ultim' was not declared in this scope
if(ultim[j] != -1)
^~~~~
main.cpp:84:13: error: 'a' was not declared in this scope
a[ultim[j]]++;
^
main.cpp:84:15: error: 'ultim' was not declared in this scope
a[ultim[j]]++;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !