Pagini recente » Borderou de evaluare (job #3282980) | Borderou de evaluare (job #860798) | Borderou de evaluare (job #2199141) | Borderou de evaluare (job #679296) | Borderou de evaluare (job #2710670)
Borderou de evaluare (job #2710670)
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 |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | OK | 10 |
7 | 4ms | 131kb | Incorect | 0 |
8 | 65ms | 262kb | Incorect | 0 |
9 | 89ms | 262kb | Incorect | 0 |
10 | 89ms | 262kb | Incorect | 0 |
Punctaj total | 30 |