Borderou de evaluare (job #1785092)

Utilizator EmplopiStefan Nitu Emplopi Data 20 octombrie 2016 21:11:32
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &k); ^ user.c:14:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &nr); ^ user.c:28:12: warning: ‘pozj’ may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(fout, "%d %d %d", pozi+1, pozj+1, max); ^ user.c:28:12: warning: ‘pozi’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:22:11: warning: ‘max’ may be used uninitialized in this function [-Wmaybe-uninitialized] if((s>max && i-pozic+1>=k) || pozj-pozi+1<k){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbWrong answer!0
20ms256kbOK!10
30ms256kbOK!10
40ms260kbOK!10
50ms256kbWrong answer!0
60ms264kbWrong answer!0
74ms264kbWrong answer!0
84ms260kbWrong answer!0
98ms260kbOK!10
1012ms256kbOK!10
Punctaj total50

Ceva nu functioneaza?