Borderou de evaluare (job #2923257)

Utilizator Botnaru_VictorBotnaru Victor Botnaru_Victor Data 12 septembrie 2022 12:55:12
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:26:20: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | int ans=s[a[px]][px]; | ^ main.cpp:67:22: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | ans+=ib[a[px]]*inv+nb[a[px]]*nor; | ^ main.cpp:67:36: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | ans+=ib[a[px]]*inv+nb[a[px]]*nor; | ^ main.cpp:71:22: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | ans+=ib[a[px]]*nor+nb[a[px]]*inv; | ^ main.cpp:71:36: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | ans+=ib[a[px]]*nor+nb[a[px]]*inv; | ^ main.cpp:73:32: warning: array subscript has type 'char' [-Wchar-subscripts] 73 | g<<(!isinv?a[px]:(opp[a[px]]))<<' '<<nor<<' '<<inv<<' '<<ans<<'\n'; | ^ main.cpp: In function 'int32_t main()': main.cpp:88:16: warning: array subscript has type 'char' [-Wchar-subscripts] 88 | nb[a[i]]++; | ^ main.cpp:89:20: warning: array subscript has type 'char' [-Wchar-subscripts] 89 | ib[opp[a[i]]]++; | ^ main.cpp:89:20: warning: array subscript has type 'char' [-Wchar-subscripts] 89 | ib[opp[a[i]]]++; | ~~~~~~~~^ main.cpp:97:15: warning: array subscript has type 'char' [-Wchar-subscripts] 97 | s[a[i]][i]++; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
22ms200kbIncorect0
36ms2797kbIncorect0
44ms2715kbIncorect0
555ms4104kbIncorect0
645ms5079kbIncorect0
780ms5619kbIncorect0
862ms6266kbIncorect0
928ms3817kbIncorect0
1036ms4345kbIncorect0
1141ms3747kbIncorect0
1241ms4276kbIncorect0
13258ms14462kbIncorect0
14492ms25870kbIncorect0
15806ms46452kbTime limit exceeded0
16802ms56479kbTime limit exceeded0
17801ms56172kbTime limit exceeded0
18801ms57806kbTime limit exceeded0
19800ms58961kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?