Pagini recente »
Borderou de evaluare (job #741892)
Borderou de evaluare (job #741892)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
18 | if (pozGhiuleaSt > 0 && pozGhiuleaSt < (sir.size() - 1) && sir[pozGhiuleaSt - 1] == sir[pozGhiuleaSt] && sir[pozGhiuleaSt] == sir[pozGhiuleaSt + 1]) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:30:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
30 | while (pozGhiuleaDr < sir.size() && sir[pozGhiuleaDr] == chSt) { pozGhiuleaDr++; }
| ~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:38:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
38 | for (i = pntDr; i < sir.size(); i++) { cout << sir[i]; }
| ~~^~~~~~~~~~~~
main.cpp:9:16: warning: unused variable 'chDr' [-Wunused-variable]
9 | char chSt, chDr;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
|
5
|
1 ms
|
249 kb
|
OK
|
5
|
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
|
8
|
1 ms
|
249 kb
|
OK
|
5
|
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
|
13
|
1 ms
|
241 kb
|
Incorect
|
0
|
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
|
15
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
16
|
1 ms
|
249 kb
|
OK
|
5
|
|
17
|
1 ms
|
245 kb
|
OK
|
5
|
|
18
|
1 ms
|
245 kb
|
OK
|
5
|
|
19
|
1 ms
|
245 kb
|
OK
|
5
|
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
Punctaj total
|
80
|