Borderou de evaluare (job #1785075)

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

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:13:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &nr); ^ user.c:27:12: warning: ‘pozj’ may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(fout, "%d %d %d", pozi+1, pozj+1, max); ^ user.c:27:12: warning: ‘pozi’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:21:22: warning: ‘pozic’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(s>max && i-pozic+1>=k){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbWrong answer!0
20ms252kbOK!10
30ms252kbOK!10
40ms248kbOK!10
50ms252kbOK!10
60ms252kbOK!10
74ms248kbOK!10
84ms248kbOK!10
98ms252kbOK!10
1012ms248kbOK!10
Punctaj total90

Ceva nu functioneaza?