Pagini recente » Borderou de evaluare (job #2690079) | Borderou de evaluare (job #3173842) | Borderou de evaluare (job #1699068) | Borderou de evaluare (job #2374692) | Borderou de evaluare (job #1668204)
Borderou de evaluare (job #1668204)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i+1] = (a[i] - pi[c] * a[i] - pb[c] * a[i-1]) / pc[c];
^
user.cpp:38:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i+1] = (a[i] - pi[c] * a[i] - pb[c] * a[i-1]) / pc[c];
^
user.cpp:38:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i+1] = (a[i] - pi[c] * a[i] - pb[c] * a[i-1]) / pc[c];
^
user.cpp:40:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i+1] = (b[i] - pi[c] * (2 + b[i]) - pb[c] * (1 + b[i-1]) - pc[c]) / pc[c];
^
user.cpp:40:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i+1] = (b[i] - pi[c] * (2 + b[i]) - pb[c] * (1 + b[i-1]) - pc[c]) / pc[c];
^
user.cpp:40:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i+1] = (b[i] - pi[c] * (2 + b[i]) - pb[c] * (1 + b[i-1]) - pc[c]) / pc[c];
^
user.cpp:40:83: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[i+1] = (b[i] - pi[c] * (2 + b[i]) - pb[c] * (1 + b[i-1]) - pc[c]) / pc[c];
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sms.in", "r", stdin);
^
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sms.out", "w", stdout);
^
user.cpp:20:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
user.cpp:22:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:26:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf", &pc[i], &pi[i], &pb[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 5340kb | Ok! | 10 |
2 | 0ms | 5416kb | Ok! | 10 |
3 | 0ms | 5344kb | Ok! | 10 |
4 | 0ms | 5444kb | Ok! | 10 |
5 | 4ms | 7780kb | Ok! | 10 |
6 | 28ms | 15372kb | Ok! | 10 |
7 | 40ms | 17584kb | Ok! | 10 |
8 | 40ms | 17632kb | Ok! | 10 |
9 | 48ms | 17940kb | Ok! | 10 |
10 | 48ms | 17908kb | Ok! | 10 |
Punctaj total | 100 |