Borderou de evaluare (job #679774)

Utilizator avatar AndiR Tanasescu Andrei Rares AndiR IP ascuns
Problemă Unique Characters (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 dec. 2022 15:29:21 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:14: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | ant2[ch]=ant[ch]; | ^~ main.cpp:18:22: warning: array subscript has type 'char' [-Wchar-subscripts] 18 | ant2[ch]=ant[ch]; | ^~ main.cpp:19:13: warning: array subscript has type 'char' [-Wchar-subscripts] 19 | ant[ch]=crt[ch]; | ^~ main.cpp:19:21: warning: array subscript has type 'char' [-Wchar-subscripts] 19 | ant[ch]=crt[ch]; | ^~ main.cpp:20:13: warning: array subscript has type 'char' [-Wchar-subscripts] 20 | crt[ch]=pos; | ^~ main.cpp:21:17: warning: array subscript has type 'char' [-Wchar-subscripts] 21 | if (ant[ch]!=0){ | ^~ main.cpp:22:23: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=(ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~ main.cpp:22:32: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=(ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~ main.cpp:22:42: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=(ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~ main.cpp:22:50: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=(ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 110 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 14 ms 118 kb OK 10
7 36 ms 118 kb Incorect 0
8 50 ms 118 kb Incorect 0
9 96 ms 118 kb Incorect 0
10 69 ms 118 kb Incorect 0
Punctaj total 60