Borderou de evaluare (job #2693924)

Utilizator gasparrobert95Gaspar Robert Andrei gasparrobert95 Data 7 ianuarie 2021 16:36:34
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void sameVar()': main.cpp:17:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < a.size(); ++i) ~~^~~~~~~~~~ main.cpp:19:20: warning: array subscript has type 'char' [-Wchar-subscripts] fv[a[i]] = 1; ^ main.cpp:20:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < b.size(); ++i) ~~^~~~~~~~~~ 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:36:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && exp[pos] == '~') ~~~~^~~~~~~~~~~~ main.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && paranteze > 0) { ~~~~^~~~~~~~~~~~ main.cpp:56: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:65: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:72: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:79: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
25ms131kbOK10
33ms131kbOK10
43ms131kbIncorect0
5103ms131kbTime limit exceeded0
611ms131kbIncorect0
73ms131kbIncorect0
83ms131kbIncorect0
94ms131kbIncorect0
1010ms131kbIncorect0
Punctaj total30

Ceva nu functioneaza?