Borderou de evaluare (job #2694018)

Utilizator gasparrobert95Gaspar Robert Andrei gasparrobert95 Data 7 ianuarie 2021 20:37:57
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:17:20: warning: array subscript has type 'char' [-Wchar-subscripts] fv[a[i]] = 1; ^ main.cpp:19: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:47: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:56: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:63: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:70: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
13ms131kbOK10
210ms131kbOK10
33ms131kbOK10
48ms131kbOK10
5101ms131kbTime limit exceeded0
650ms131kbOK10
725ms131kbOK10
82ms131kbOK10
94ms131kbOK10
1044ms131kbOK10
Punctaj total90

Ceva nu functioneaza?