Pagini recente » Borderou de evaluare (job #2129446) | Borderou de evaluare (job #1561356) | Borderou de evaluare (job #1649328) | Borderou de evaluare (job #622599) | Borderou de evaluare (job #2098114)
Borderou de evaluare (job #2098114)
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 | 6980kb | Wrong answer... | 0 |
2 | 4ms | 6768kb | Wrong answer... | 0 |
3 | 4ms | 6896kb | Wrong answer... | 0 |
4 | 4ms | 6900kb | Wrong answer... | 0 |
5 | 8ms | 9424kb | Wrong answer... | 0 |
6 | 44ms | 17036kb | Wrong answer... | 0 |
7 | 60ms | 19268kb | Wrong answer... | 0 |
8 | 64ms | 19124kb | Wrong answer... | 0 |
9 | 80ms | 19268kb | Wrong answer... | 0 |
10 | 80ms | 19564kb | Wrong answer... | 0 |
Punctaj total | 0 |