Borderou de evaluare (job #2878132)

Utilizator Theodor17Pirnog Theodor Ioan Theodor17 Data 25 martie 2022 20:47:57
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::string get_exp(std::string)': main.cpp:50:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | while(p < s.size()) | ~~^~~~~~~~~~ main.cpp: In function 'int parametru(std::string, int&)': main.cpp:136:26: warning: array subscript has type 'char' [-Wchar-subscripts] 136 | return val[s[t++]] * semn; | ^ main.cpp: In function 'int main()': main.cpp:179:21: warning: array subscript has type 'char' [-Wchar-subscripts] 179 | val[s[0]] = get_num(s); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
72ms184kbOK10
82ms184kbOK10
92ms184kbOK10
102ms184kbOK10
Punctaj total100

Ceva nu functioneaza?