Borderou de evaluare (job #3333710)

Utilizator GabiRB1Rafael GabiRB1 Data 14 ianuarie 2026 22:16:42
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int calc(std::string&, std::string&, std::string&)': main.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for(int i = 0; i < s2.length(); i ++) | ~~^~~~~~~~~~~~~ main.cpp:41:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | for(int i = maxx; i < s2.length(); i ++) | ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:110:18: warning: 'pozj' may be used uninitialized [-Wmaybe-uninitialized] 110 | rez.push_back(pozj); | ~~~~~~~~~~~~~^~~~~~ main.cpp:102:33: note: 'pozj' was declared here 102 | long long minn = 1e9, pozi, pozj, mask = (1 << n) - 1; | ^~~~ main.cpp:113:41: warning: 'pozi' may be used uninitialized [-Wmaybe-uninitialized] 113 | rez.push_back(t[pozi][pozj][mask]); | ~~~~~~~~~~~~~~~~~~^ main.cpp:102:27: note: 'pozi' was declared here 102 | long long minn = 1e9, pozi, pozj, mask = (1 << n) - 1; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbWrong asnwer0
20ms557kbWrong asnwer0
31ms1081kbWrong asnwer0
41ms1081kbWrong asnwer0
59ms4141kbWrong asnwer0
622ms2748kbWrong asnwer0
7348ms17412kbWrong asnwer0
8362ms66736kbMemory limit exceeded0
9459ms17850kbWrong asnwer0
10581ms66695kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?