Sugestões?
Sugestões para resover o runtime
Question solved. Code removed.
This topic was solved and cannot recieve new replies.
int qtd; int lesma[qtd] ; while(cin>>qtd){
You can't declare array lesma because you do not know it's size yet. You can fix it by
int qtd; while(cin>>qtd){ int lesma[qtd] ;
or by
int qtd; int lesma[500] ; while(cin>>qtd){