Borderou de evaluare (job #1432368)

Utilizator Soare_Ionut_Vlad_321CBSoare Ionut-Vlad Soare_Ionut_Vlad_321CB Data 9 mai 2015 12:05:55
Problema Secv1 Status done
Runda test_practic_pa_1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:17:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f1, "%d", &N); ^ user.c:20:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f1, "%d", &x); ^ user.c:59:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f2,"%ld", nr); ^ user.c:17:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%d", &N); ^ user.c:20:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%d", &x); ^ user.c:50:20: warning: ‘max_index’ may be used uninitialized in this function [-Wmaybe-uninitialized] vec[max_index] = 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbIncorect0
20ms280kbIncorect0
30ms284kbIncorect0
48ms584kbIncorect0
512ms664kbIncorect0
612ms744kbIncorect0
716ms820kbIncorect0
816ms896kbIncorect0
920ms972kbIncorect0
1024ms1048kbIncorect0
Punctaj total0

Ceva nu functioneaza?