Borderou de evaluare (job #2076550)

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

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
20ms468kbPartial corect2
34ms492kbPartial corect2
44ms496kbPartial corect2
5148ms1560kbPartial corect2
6168ms1716kbPartial corect2
7188ms1872kbPartial corect2
8212ms2028kbPartial corect2
94ms496kbPartial corect2
104ms496kbPartial corect2
118ms496kbPartial corect2
128ms496kbCorect5
13188ms1576kbPartial corect2
14216ms1748kbPartial corect2
15228ms1840kbPartial corect2
16312ms1916kbPartial corect2
17400ms1988kbCorect5
18516ms2056kbCorect5
19536ms2112kbCorect5
Punctaj total58

Ceva nu functioneaza?