Borderou de evaluare (job #679775)

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:37:43 Scor 100

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:43: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=((unsigned long long)ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~ main.cpp:22:52: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=((unsigned long long)ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~ main.cpp:22:62: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=((unsigned long long)ant[ch]-ant2[ch])*(crt[ch]-ant[ch]); | ^~ main.cpp:22:70: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | sol+=((unsigned long long)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 114 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 21 ms 110 kb OK 10
7 38 ms 118 kb OK 10
8 54 ms 118 kb OK 10
9 63 ms 114 kb OK 10
10 75 ms 118 kb OK 10
Punctaj total 100