Borderou de evaluare (job #2076548)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 26 noiembrie 2017 19:10:49
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 38

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] f2[v[i]]++; ^ user.cpp:46:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[v[i]] ++; ^ user.cpp:48:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[w[v[i]]] ++; ^ user.cpp:48:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[w[v[i]]] ++; ^ user.cpp:73:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = w[v[n]]; ^ user.cpp:79:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] long long s = a[src] + a[w[src]]; ^ user.cpp:79:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] long long s = a[src] + a[w[src]]; ^ user.cpp:79:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] long long s = a[src] + a[w[src]]; ^ user.cpp:93:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol += f2[src]; ^ user.cpp:97:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol += s + f2[src]; ^ user.cpp:100:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] src = w[src]; ^ user.cpp:104:14: warning: narrowing conversion of ‘n’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing] x[i] = {i, ans, sol, n, src}; ^ user.cpp:113:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[v[curr]] ++; ^ user.cpp:115:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] x[next].fin = x[next].sol + f[x[next].src]; ^ user.cpp:30:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &k, &q); ^ user.cpp:55:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lld", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbCorect10
20ms464kbIncorect0
30ms488kbPartial corect2
44ms492kbPartial corect2
5148ms1560kbPartial corect2
6168ms1708kbIncorect0
7188ms1868kbIncorect0
8212ms2024kbIncorect0
94ms492kbPartial corect2
104ms488kbPartial corect2
118ms496kbIncorect0
128ms492kbPartial corect3
13188ms1572kbIncorect0
14220ms1740kbPartial corect2
15232ms1840kbPartial corect2
16312ms1912kbIncorect0
17404ms1984kbCorect5
18520ms2052kbPartial corect3
19540ms2112kbPartial corect3
Punctaj total38

Ceva nu functioneaza?