Borderou de evaluare (job #2693974)

Utilizator gasparrobert95Gaspar Robert Andrei gasparrobert95 Data 7 ianuarie 2021 19:03:03
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:40:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos < exp.size() && exp[pos] == '~') ~~~~^~~~~~~~~~~~ main.cpp:50: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:59: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:66: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:73: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
210ms131kbOK10
34ms131kbOK10
47ms131kbOK10
5102ms131kbTime limit exceeded0
630ms262kbOK10
720ms131kbOK10
83ms131kbOK10
94ms131kbOK10
1043ms262kbOK10
Punctaj total90

Ceva nu functioneaza?