Borderou de evaluare (job #2710670)

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

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:18: warning: array subscript has type 'char' [-Wchar-subscripts] f[ v1[i] ] = a[i]; ^ main.cpp:33:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=1;i<=ap;i++) ^~~ main.cpp:35:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (i=1;i<=n;i++) { ^~~ main.cpp:36:28: warning: array subscript has type 'char' [-Wchar-subscripts] L[i] = i - f[ v[i] ]; ^ main.cpp:39:28: warning: array subscript has type 'char' [-Wchar-subscripts] R[i] = i + f[ v[i] ]; ^ main.cpp:52:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=2;i<=n;i++) ^~~ main.cpp:57:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cout<<nr; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbIncorect0
42ms131kbIncorect0
52ms131kbIncorect0
62ms131kbOK10
74ms131kbIncorect0
865ms262kbIncorect0
989ms262kbIncorect0
1089ms262kbIncorect0
Punctaj total30

Ceva nu functioneaza?