Pagini recente »
Rating Maria-Cipriana Burlacu (Maria_cb)
|
Borderou de evaluare (job #718342)
|
Borderou de evaluare (job #92802)
|
Borderou de evaluare (job #839540)
Borderou de evaluare (job #839540)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0; i+1<x.size(); i++){
| ~~~^~~~~~~~~
main.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=c; i<x.size(); i++){
| ~^~~~~~~~~
main.cpp:18:19: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
18 | y=x.substr(0, c);
| ~~~~~~~~^~~~~~
main.cpp:14:13: note: 'c' was declared here
14 | int c, val;
| ^
main.cpp:21:28: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized]
21 | if(x[i]-'0'>mx && x[i]-'0'<val) mx=x[i]-'0';
main.cpp:14:16: note: 'val' was declared here
14 | int c, val;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
2 ms
|
296 kb
|
Corect
|
7
|
|
2
|
1 ms
|
296 kb
|
Corect
|
7
|
|
3
|
1 ms
|
296 kb
|
Corect
|
7
|
|
4
|
1 ms
|
512 kb
|
Corect
|
7
|
|
5
|
1 ms
|
512 kb
|
Corect
|
7
|
|
6
|
1 ms
|
296 kb
|
Corect
|
7
|
|
7
|
1 ms
|
512 kb
|
Corect
|
7
|
|
8
|
2 ms
|
512 kb
|
Corect
|
7
|
|
9
|
2 ms
|
296 kb
|
Corect
|
7
|
|
10
|
2 ms
|
512 kb
|
Corect
|
3
|
|
11
|
1 ms
|
296 kb
|
Corect
|
3
|
|
12
|
1 ms
|
512 kb
|
Corect
|
3
|
|
13
|
1 ms
|
512 kb
|
Corect
|
3
|
|
14
|
1 ms
|
296 kb
|
Corect
|
3
|
|
15
|
1 ms
|
512 kb
|
Corect
|
3
|
|
16
|
2 ms
|
296 kb
|
Corect
|
3
|
|
17
|
1 ms
|
296 kb
|
Corect
|
3
|
|
18
|
2 ms
|
296 kb
|
Corect
|
3
|
|
19
|
2 ms
|
296 kb
|
Corect
|
3
|
|
20
|
1 ms
|
512 kb
|
Corect
|
7
|
|
Punctaj total
|
100
|