Pagini recente »
Borderou de evaluare (job #277123)
|
Borderou de evaluare (job #544156)
|
Borderou de evaluare (job #429854)
|
Borderou de evaluare (job #67920)
|
Borderou de evaluare (job #594165)
Borderou de evaluare (job #594165)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
16 | for(int x = 0;x < s.size();x++){
| ~~^~~~~~~~~~
main.cpp:20:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
20 | for(int x = 0;x < s.size() - 1;x++){
| ~~^~~~~~~~~~~~~~
main.cpp:43:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
43 | for(int y = x + 1;y < s.size();y++){
| ~~^~~~~~~~~~
main.cpp:9:21: warning: unused variable 'nr' [-Wunused-variable]
9 | int cer,g = 0,l,nr = 0,cnt = 0;
| ^~
main.cpp:51:25: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 | v[l - x - 1] = s[x];
| ~~^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
OK
|
5
|
2
|
1 ms
|
262 kb
|
Incorect
|
0
|
3
|
10 ms
|
262 kb
|
OK
|
5
|
4
|
1 ms
|
262 kb
|
Incorect
|
0
|
5
|
41 ms
|
262 kb
|
OK
|
10
|
6
|
1 ms
|
262 kb
|
Incorect
|
0
|
7
|
33 ms
|
262 kb
|
OK
|
10
|
8
|
1 ms
|
262 kb
|
Incorect
|
0
|
9
|
81 ms
|
262 kb
|
OK
|
10
|
10
|
1 ms
|
262 kb
|
Incorect
|
0
|
11
|
51 ms
|
262 kb
|
OK
|
10
|
12
|
1 ms
|
262 kb
|
Incorect
|
0
|
Punctaj total
|
50
|