Pagini recente » Borderou de evaluare (job #2866124) | Borderou de evaluare (job #2723809) | Borderou de evaluare (job #1197771) | Borderou de evaluare (job #2983144) | Borderou de evaluare (job #2098131)
Borderou de evaluare (job #2098131)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[0] = (1.0 + p2[v[1]]) / p1[v[1]];
^
user.cpp:20:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[0] = (1.0 + p2[v[1]]) / p1[v[1]];
^
user.cpp:21:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[0] = p1[v[1]] / p1[v[1]];
^
user.cpp:21:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[0] = p1[v[1]] / p1[v[1]];
^
user.cpp:23:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i] = (1.0 + p2[v[i]] + p3[v[i]] * a[i - 1]) / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:23:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i] = (1.0 + p2[v[i]] + p3[v[i]] * a[i - 1]) / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:23:71: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i] = (1.0 + p2[v[i]] + p3[v[i]] * a[i - 1]) / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:23:82: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i] = (1.0 + p2[v[i]] + p3[v[i]] * a[i - 1]) / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:24:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i] = p1[v[i]] / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:24:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i] = p1[v[i]] / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:24:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i] = p1[v[i]] / (1.0 - p2[v[i]] - p3[v[i]] * b[i - 1]);
^
user.cpp:13:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &k);
^
user.cpp:18:73: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lf%lf%lf", &p1['a' + i], &p2['a' + i], &p3['a' + i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 7096kb | Wrong answer... | 0 |
2 | 4ms | 7000kb | Wrong answer... | 0 |
3 | 4ms | 6716kb | Wrong answer... | 0 |
4 | 4ms | 6900kb | Wrong answer... | 0 |
5 | 8ms | 9416kb | Wrong answer... | 0 |
6 | 44ms | 16712kb | Wrong answer... | 0 |
7 | 64ms | 19168kb | Wrong answer... | 0 |
8 | 64ms | 19184kb | Ok! | 10 |
9 | 80ms | 19436kb | Ok! | 10 |
10 | 80ms | 19276kb | Ok! | 10 |
Punctaj total | 30 |