Borderou de evaluare (job #3041612)

Utilizator teochess2017Togan Teodor-Bogdan teochess2017 Data 31 martie 2023 20:16:11
Problema Artifact Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void interpretare_cuvant_baza10(int, int)': main.cpp:60:18: warning: array subscript has type 'char' [-Wchar-subscripts] 60 | b10[cuv[i][j]] = b10[cuv[i][j]] + semn * put; | ^ main.cpp:60:35: warning: array subscript has type 'char' [-Wchar-subscripts] 60 | b10[cuv[i][j]] = b10[cuv[i][j]] + semn * put; | ^ main.cpp: In function 'int gasire_solutii(int, long long int, int&, int&)': main.cpp:104:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | if(nrp < pos.size()){ | ~~~~^~~~~~~~~~~~ main.cpp:138:1: warning: no return statement in function returning non-void [-Wreturn-type] 138 | } | ^ main.cpp:101:5: warning: infinite recursion detected [-Winfinite-recursion] 101 | int gasire_solutii(int nrp, long long s, int &nrs, int &n){ | ^~~~~~~~~~~~~~ main.cpp:108:23: note: recursive call 108 | gasire_solutii(nrp + 1, s + b10[pos[nrp]] * i, nrs, n); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms520kbKilled by Signal 110
29ms499kbKilled by Signal 110
310ms532kbKilled by Signal 110
44ms581kbKilled by Signal 110
510ms638kbKilled by Signal 110
610ms634kbKilled by Signal 110
710ms634kbKilled by Signal 110
810ms610kbKilled by Signal 110
910ms614kbKilled by Signal 110
109ms413kbKilled by Signal 110
110ms405kbKilled by Signal 110
120ms405kbKilled by Signal 110
130ms405kbKilled by Signal 110
141ms618kbKilled by Signal 110
151ms638kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?