Posts by LuizFrra • 1 point
2 posts
-
0
votes1
answer28
viewsA: Spring: how Jackson can format a composite Json response into objects
Getbrands : The request to this endpoint actually returns a list: [ { "nome": "Acura", "codigo": "1" }, { "nome": "Agrale", "codigo": "2" }... ] endpoint getModels returns an object, and this object…
-
0
votes1
answer79
viewsA: Runtime error, c++, I don’t know why// is this problem ( https://www.urionlinejudge.com.br/judge/problems/view/2857)
The size of a vector has to be a constant, you can allocate the vector dynamically by doing : int *n; cin >> tam; n = new int[tam]; No further use of the memset, because the vector will be…