Borderou de evaluare (job #2666883)

Utilizator stefanmicu.yoda@gmail.comMicro Stefan [email protected] Data 2 noiembrie 2020 16:16:21
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:42: warning: variable 'drmax' set but not used [-Wunused-but-set-variable] int n, i, x, sc = -1, st, dr, stmax, drmax; ^~~~~ main.c:8:35: warning: variable 'stmax' set but not used [-Wunused-but-set-variable] int n, i, x, sc = -1, st, dr, stmax, drmax; ^~~~~ main.c:6:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("ssm.in ", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("ssm.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:10:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^~~~~~~~~~~~~~~ main.c:27:5: warning: 'dr' is used uninitialized in this function [-Wuninitialized] printf("%d %d %d", smax, st, dr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11600ms131kbTime limit exceeded0
21600ms131kbTime limit exceeded0
31602ms131kbTime limit exceeded0
42ms131kbIncorect0
52ms131kbIncorect0
62ms131kbIncorect0
72ms131kbIncorect0
82ms131kbIncorect0
92ms131kbIncorect0
101600ms131kbTime limit exceeded0
111600ms131kbTime limit exceeded0
122ms131kbIncorect0
131600ms131kbTime limit exceeded0
141600ms131kbTime limit exceeded0
152ms131kbIncorect0
162ms131kbIncorect0
171600ms131kbTime limit exceeded0
181602ms131kbTime limit exceeded0
191600ms131kbTime limit exceeded0
202ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?