Borderou de evaluare (job #1817851)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 28 noiembrie 2016 15:48:05
Problema Bool Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c:6:1: warning: data definition has no type or storage class [enabled by default] replace(char firstString[], char secondString[], char thirdString[]); ^ user.c:6:1: warning: type defaults to ‘int’ in declaration of ‘replace’ [enabled by default] user.c: In function ‘main’: user.c:47:22: warning: operation on ‘j’ may be undefined [-Wsequence-point] boolVar[letters[j++] - 'A'] = 1 - boolVar[letters[j] - 'A']; ^ user.c:14:16: warning: unused variable ‘k’ [-Wunused-variable] int i=-1, j=0, k=0, nChanges; ^ user.c: At top level: user.c:84:1: warning: return type defaults to ‘int’ [enabled by default] replace(char firstString[], char secondString[], char thirdString[]){ ^ user.c: In function ‘main’: user.c:27:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%d", &nChanges); ^ user.c:28:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, " %s", letters); ^ user.c: In function ‘replace’: user.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms252kbIncorect0
30ms260kbIncorect0
40ms256kbIncorect0
564ms252kbIncorect0
648ms260kbIncorect0
744ms256kbIncorect0
836ms256kbIncorect0
944ms260kbIncorect0
1048ms256kbOK10
Punctaj total10

Ceva nu functioneaza?