Borderou de evaluare (job #2693958)

Utilizator gasparrobert95Gaspar Robert Andrei gasparrobert95 Data 7 ianuarie 2021 18:20:40
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void sameVar()': main.cpp:20:20: warning: array subscript has type 'char' [-Wchar-subscripts] fv[a[i]] = 1; ^ main.cpp:22:21: warning: array subscript has type 'char' [-Wchar-subscripts] fv2[b[i]] = 1; ^ main.cpp: In function 'bool termen(std::__cxx11::string, int&)': main.cpp:37:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && exp[pos] == '~') ~~~~^~~~~~~~~~~~ main.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && paranteze > 0) { ~~~~^~~~~~~~~~~~ main.cpp:57:28: warning: array subscript has type 'char' [-Wchar-subscripts] bool rez = val[exp[pos]]; ^ main.cpp: In function 'bool _and(std::__cxx11::string, int&)': main.cpp:66:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && exp[pos] == '&') ~~~~^~~~~~~~~~~~ main.cpp: In function 'bool _xor(std::__cxx11::string, int&)': main.cpp:73:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && exp[pos] == '^') ~~~~^~~~~~~~~~~~ main.cpp: In function 'bool _or(std::__cxx11::string, int)': main.cpp:80:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && exp[pos] == '|') ~~~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
211ms131kbOK10
33ms131kbOK10
47ms131kbOK10
5101ms131kbTime limit exceeded0
626ms131kbOK10
731ms131kbOK10
82ms131kbOK10
94ms131kbOK10
1030ms131kbOK10
Punctaj total90

Ceva nu functioneaza?