Borderou de evaluare (job #2076555)
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:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol += s + f2[w[src]];
^
user.cpp:97:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol += s + f2[w[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]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Corect | 10 |
2 | 0ms | 456kb | Corect | 5 |
3 | 4ms | 484kb | Corect | 5 |
4 | 4ms | 484kb | Corect | 5 |
5 | 148ms | 1560kb | Corect | 5 |
6 | 168ms | 1712kb | Corect | 5 |
7 | 188ms | 1872kb | Corect | 5 |
8 | 216ms | 2028kb | Corect | 5 |
9 | 4ms | 492kb | Corect | 5 |
10 | 4ms | 492kb | Corect | 5 |
11 | 8ms | 492kb | Corect | 5 |
12 | 12ms | 488kb | Corect | 5 |
13 | 192ms | 1568kb | Corect | 5 |
14 | 216ms | 1744kb | Corect | 5 |
15 | 228ms | 1844kb | Corect | 5 |
16 | 312ms | 1916kb | Corect | 5 |
17 | 404ms | 1984kb | Corect | 5 |
18 | 524ms | 2052kb | Corect | 5 |
19 | 540ms | 2112kb | Corect | 5 |
Punctaj total | 100 |