Pagini recente »
Borderou de evaluare (job #313134)
|
Borderou de evaluare (job #546334)
|
Borderou de evaluare (job #357805)
|
Borderou de evaluare (job #515124)
|
Borderou de evaluare (job #594176)
Borderou de evaluare (job #594176)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
25 | for(int x = 0;x < s.size();x++){
| ~~^~~~~~~~~~
main.cpp:29:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
29 | for(int x = 0;x < s.size() - 1;x++){
| ~~^~~~~~~~~~~~~~
main.cpp:52:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
52 | for(int y = x + 1;y < s.size();y++){
| ~~^~~~~~~~~~
main.cpp:81:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
81 | for(int x = 0;x < s.size();x++){
| ~~^~~~~~~~~~
main.cpp:18:21: warning: unused variable 'nr' [-Wunused-variable]
18 | int cer,g = 0,l,nr = 0,cnt = 0;
| ^~
main.cpp:60:25: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
60 | 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
|
13 ms
|
262 kb
|
OK
|
5
|
4
|
18 ms
|
262 kb
|
Incorect
|
0
|
5
|
41 ms
|
262 kb
|
OK
|
10
|
6
|
32 ms
|
262 kb
|
Incorect
|
0
|
7
|
32 ms
|
262 kb
|
OK
|
10
|
8
|
13 ms
|
262 kb
|
Incorect
|
0
|
9
|
79 ms
|
262 kb
|
OK
|
10
|
10
|
54 ms
|
262 kb
|
Incorect
|
0
|
11
|
56 ms
|
262 kb
|
OK
|
10
|
12
|
35 ms
|
262 kb
|
Incorect
|
0
|
Punctaj total
|
50
|