Borderou de evaluare (job #3041610)

Utilizator teochess2017Togan Teodor-Bogdan teochess2017 Data 31 martie 2023 20:12:38
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
19ms491kbKilled by Signal 110
24ms495kbKilled by Signal 110
36ms524kbKilled by Signal 110
410ms581kbKilled by Signal 110
510ms643kbKilled by Signal 110
69ms638kbKilled by Signal 110
74ms643kbKilled by Signal 110
810ms602kbKilled by Signal 110
910ms614kbKilled by Signal 110
109ms409kbKilled by Signal 110
110ms401kbKilled by Signal 110
120ms405kbKilled by Signal 110
130ms409kbKilled by Signal 110
141ms618kbKilled by Signal 110
151ms634kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?