Pagini recente »
2021-09-12-clasa-10-testare-grupa1
|
Clasament simulare_casi_8
|
Borderou de evaluare (job #484405)
|
Borderou de evaluare (job #374619)
|
Borderou de evaluare (job #798924)
Borderou de evaluare (job #798924)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:21: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | if(mx>f[s[i]])
| ^
main.cpp:39:22: warning: array subscript has type 'char' [-Wchar-subscripts]
39 | mx=f[s[i]];
| ^
main.cpp:31:12: warning: unused variable 'k' [-Wunused-variable]
31 | int n, k, a, cnt=0, mx=0, l=0;
| ^
main.cpp:52:13: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized]
52 | cout<<f[ch-'a']<<'\n';
| ^~
main.cpp:30:10: note: 'ch' was declared here
30 | char ch;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
131 kb
|
OK
|
10
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
266 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
507 kb
|
Incorect
|
0
|
8
|
1 ms
|
512 kb
|
Incorect
|
0
|
9
|
9 ms
|
524 kb
|
Incorect
|
0
|
10
|
9 ms
|
503 kb
|
Incorect
|
0
|
Punctaj total
|
20
|