Borderou de evaluare (job #2466891)

Utilizator theo2003Theodor Negrescu theo2003 Data 3 octombrie 2019 10:22:52
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:12:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0, l = -1, r = -1; i < s.size(); i++) { ~~^~~~~~~~~~ main.cpp:17:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((s[i - ex] == s[i + ex]) && ((i + ex) < s.size()) && ((i - ex) >= 0)) { ~~~~~~~~~^~~~~~~~~~ main.cpp:26:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0, l = -1, r = -1; i < s.size(); i++) { ~~^~~~~~~~~~ main.cpp:31:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((s[i - ex - 1] == s[i + ex]) && ((i + ex) < s.size()) && ((i - ex - 1) >= 0)) { ~~~~~~~~~^~~~~~~~~~ main.cpp:40:48: error: 'accumulate' was not declared in this scope total += accumulate(o.begin(), o.end(), 0LL); ^ Non zero exit status: 1

Ceva nu functioneaza?