Borderou de evaluare (job #2476376)

Utilizator PatrickCplusplusPatrick Ondreovici PatrickCplusplus Data 18 octombrie 2019 18:52:27
Problema Palindrom2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void Pal1(int)': main.cpp:15:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < x.size() && j > -1 && x[j - 1] == x[i + 1]) ~~^~~~~~~~~~ main.cpp:17:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == x.size() - 1) ~~^~~~~~~~~~~~~~~ main.cpp: In function 'void Pal2(int)': main.cpp:25:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < x.size() - 1 && j > 0 && x[j - 1] == x[i + 1]) ~~^~~~~~~~~~~~~~ main.cpp:27:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == x.size() - 1) ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < x.size(); ++j) ~~^~~~~~~~~~ main.cpp:36:13: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ main.cpp:36:16: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ main.cpp:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = minim; j < x.size(); ++j) ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?