Borderou de evaluare (job #1697001)

Utilizator BarbumateiBarbu Matei Barbumatei Data 30 aprilie 2016 14:47:27
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:11:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(fin, "%d", &v[i]); ^ user.c:9:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^ user.c:12:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &m); ^ user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &c, &x); ^ user.c:24:22: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized] else if(c==2 && v[mij]==x) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms276kbOK1010
20ms284kbOK1010
30ms280kbOK1010
44ms292kbOK1010
524ms360kbOK1020
688ms664kbOK10
732msDepăşitMemory limit exceeded.00
832msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1032msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?