Pagini recente »
2022-02-25-clasa-6-tema-18
|
Rating Negu Catalin (NeaguIoan)
|
Clasament 002
|
2021-09-10-clasa-6-tema-01
|
Borderou de evaluare (job #640147)
Borderou de evaluare (job #640147)
Raport evaluator
Compilare:
main.cpp: In function 'int to_int(std::string)':
main.cpp:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
8 | for(int i = 1;i<s.size();++i){
| ~^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:48:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
48 | for(int j = 0;j<y.size();j++){
| ~^~~~~~~~~
main.cpp:32:20: warning: array subscript 65 is above array bounds of 'int [25]' [-Warray-bounds]
32 | if(vf[i] == maxim){
| ~~~~^
main.cpp:4:5: note: while referencing 'vf'
4 | int vf[int('Z')-int('A')];
| ^~
main.cpp:29:36: warning: array subscript 65 is above array bounds of 'int [25]' [-Warray-bounds]
29 | maxim = max(maxim, vf[i]);
| ~~~~^
main.cpp:4:5: note: while referencing 'vf'
4 | int vf[int('Z')-int('A')];
| ^~
main.cpp:29:36: warning: array subscript 65 is above array bounds of 'int [25]' [-Warray-bounds]
29 | maxim = max(maxim, vf[i]);
| ~~~~^
main.cpp:4:5: note: while referencing 'vf'
4 | int vf[int('Z')-int('A')];
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
OK
|
5
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
OK
|
5
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
OK
|
5
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
11
|
1 ms
|
114 kb
|
Incorect
|
0
|
12
|
1 ms
|
114 kb
|
Incorect
|
0
|
13
|
1 ms
|
114 kb
|
Incorect
|
0
|
14
|
1 ms
|
241 kb
|
Incorect
|
0
|
15
|
1 ms
|
114 kb
|
Incorect
|
0
|
16
|
1 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
15
|