Pagini recente » Borderou de evaluare (job #2798780) | Borderou de evaluare (job #2129826) | Borderou de evaluare (job #2150679) | Borderou de evaluare (job #1172378) | Borderou de evaluare (job #2659056)
Borderou de evaluare (job #2659056)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:30: warning: array subscript has type 'char' [-Wchar-subscripts]
for (i=0;i<n;i++) vf[s[i]]++;
^
main.cpp:40:48: warning: array subscript has type 'char' [-Wchar-subscripts]
for (i=0;i<n;i++) cout<<'\n'<<'\n'<<sf[s[i]]<<' '<<i<<' '<<i-sf[s[i]]<<' '<<i+sf[s[i]]<<'\n';
^
main.cpp:40:73: warning: array subscript has type 'char' [-Wchar-subscripts]
for (i=0;i<n;i++) cout<<'\n'<<'\n'<<sf[s[i]]<<' '<<i<<' '<<i-sf[s[i]]<<' '<<i+sf[s[i]]<<'\n';
^
main.cpp:40:90: warning: array subscript has type 'char' [-Wchar-subscripts]
for (i=0;i<n;i++) cout<<'\n'<<'\n'<<sf[s[i]]<<' '<<i<<' '<<i-sf[s[i]]<<' '<<i+sf[s[i]]<<'\n';
^
main.cpp:28:27: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (vf[i]!=0) nr--;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 4ms | 131kb | Incorect | 0 |
8 | 13ms | 131kb | Incorect | 0 |
9 | 14ms | 131kb | Incorect | 0 |
10 | 15ms | 131kb | Incorect | 0 |
Punctaj total | 0 |