Borderou de evaluare (job #2076552)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 26 noiembrie 2017 19:16:29
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
20ms456kbPartial corect2
34ms484kbPartial corect2
44ms488kbPartial corect2
5148ms1556kbPartial corect2
6168ms1712kbPartial corect2
7188ms1868kbPartial corect2
8216ms2024kbPartial corect2
94ms488kbPartial corect2
104ms496kbPartial corect2
114ms488kbPartial corect2
1212ms496kbCorect5
13188ms1572kbPartial corect2
14216ms1748kbPartial corect2
15228ms1840kbPartial corect2
16308ms1920kbPartial corect2
17400ms1984kbCorect5
18520ms2052kbCorect5
19544ms2112kbCorect5
Punctaj total58

Ceva nu functioneaza?