Pagini recente » Borderou de evaluare (job #2255900) | Borderou de evaluare (job #2826933) | Borderou de evaluare (job #447348) | Borderou de evaluare (job #2443602) | Borderou de evaluare (job #2098115)
Borderou de evaluare (job #2098115)
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]]) / (1.0 - p1[v[1]]);
^
user.cpp:20:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[0] = (1.0 + p2[v[1]]) / (1.0 - p1[v[1]]);
^
user.cpp:21:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[0] = p1[v[1]] / (1 - p1[v[1]]);
^
user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[0] = p1[v[1]] / (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 | 6920kb | Wrong answer... | 0 |
2 | 4ms | 6972kb | Wrong answer... | 0 |
3 | 4ms | 7052kb | Wrong answer... | 0 |
4 | 4ms | 6904kb | Wrong answer... | 0 |
5 | 8ms | 9260kb | Wrong answer... | 0 |
6 | 44ms | 16892kb | Wrong answer... | 0 |
7 | 60ms | 19160kb | Wrong answer... | 0 |
8 | 64ms | 19404kb | Wrong answer... | 0 |
9 | 80ms | 19324kb | Wrong answer... | 0 |
10 | 80ms | 19268kb | Wrong answer... | 0 |
Punctaj total | 0 |