Borderou de evaluare (job #2710652)

Utilizator somethingforeveryoneMatei Gabriel somethingforeveryone Data 22 februarie 2021 20:24:39
Problema Char Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:15: warning: array subscript has type 'char' [-Wchar-subscripts] f[v[j]]++; ^ main.cpp:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i='a'; i<='z'; i++) ^~~ main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cin>>k; ^~~ main.cpp:30:27: warning: array subscript has type 'char' [-Wchar-subscripts] o+=f[v1[j]]; ^ main.cpp:34:28: warning: array subscript has type 'char' [-Wchar-subscripts] L[i] = i - f[ v[i] ]; ^ main.cpp:37:28: warning: array subscript has type 'char' [-Wchar-subscripts] R[i] = i + f[ v[i] ]; ^ main.cpp:50:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=2;i<=n;i++) ^~~ main.cpp:55:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cout<<endl<<nr; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
23ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
53ms131kbIncorect0
63ms131kbIncorect0
74ms131kbIncorect0
861ms262kbIncorect0
988ms262kbIncorect0
1072ms262kbIncorect0
Punctaj total0

Ceva nu functioneaza?