Pagini recente »
Borderou de evaluare (job #31578)
|
Borderou de evaluare (job #149951)
|
Borderou de evaluare (job #594331)
|
Borderou de evaluare (job #57132)
|
Borderou de evaluare (job #727948)
Borderou de evaluare (job #727948)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:25: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | m[nr]=T[c[nr]];
| ~~~~^
main.cpp:9:14: warning: unused variable 'x' [-Wunused-variable]
9 | int nr,i,x=0;
| ^
main.cpp:11:13: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations]
11 | T[i]=i+1;
| ~~~~^~~~
main.cpp:10:16: note: within this loop
10 | for(i='a';i<'z';++i)
| ~^~~~
main.cpp:12:10: warning: array subscript 122 is above array bounds of 'char [120]' [-Warray-bounds]
12 | T['z']='a';
| ~~~~~^
main.cpp:6:6: note: while referencing 'T'
6 | char T[120],c[dim],m[dim];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
237 kb
|
OK
|
10
|
8
|
1 ms
|
147 kb
|
OK
|
10
|
9
|
29 ms
|
413 kb
|
OK
|
10
|
10
|
29 ms
|
405 kb
|
OK
|
10
|
Punctaj total
|
100
|