Borderou de evaluare (job #1446701)

Utilizator andreiulianAndrei andreiulian Data 2 iunie 2015 16:55:18
Problema Custi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(in,"%d",&a[i][j]); ^ user.cpp:14:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:21:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&a[i][j]); ^ user.cpp:40:31: warning: array subscript is below array bounds [-Warray-bounds] if(it>15) r[-5]=2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
164ms6652kbOK10
20ms660kbOK10
30ms1044kbOK10
44ms1548kbOK10
5Depăşit12964kbTime limit exceeded.0
6196ms10172kbOK10
7Depăşit12960kbTime limit exceeded.0
8220ms12992kbOK10
9Depăşit12808kbTime limit exceeded.0
10Depăşit12968kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?