Borderou de evaluare (job #2098114)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 2 ianuarie 2018 13:44:17
Problema Sms Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
14ms6980kbWrong answer...0
24ms6768kbWrong answer...0
34ms6896kbWrong answer...0
44ms6900kbWrong answer...0
58ms9424kbWrong answer...0
644ms17036kbWrong answer...0
760ms19268kbWrong answer...0
864ms19124kbWrong answer...0
980ms19268kbWrong answer...0
1080ms19564kbWrong answer...0
Punctaj total0

Ceva nu functioneaza?