Borderou de evaluare (job #1646192)

Utilizator CrystyAngelDinu Cristian CrystyAngel Data 10 martie 2016 15:23:00
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp:13:1: warning: ‘typedef’ was ignored in this declaration [enabled by default] }; ^ user.cpp:19:1: warning: ‘typedef’ was ignored in this declaration [enabled by default] }; ^ user.cpp: In function ‘int main()’: user.cpp:91:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[260]’ [-Wformat=] fs(f,"%s",&s); ^ user.cpp:124:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10]’ [-Wformat=] fs(f,"%s",&c); ^ user.cpp:140:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[250]’ [-Wformat=] fs(f,"%s",&funct[k].exp); ^ user.cpp:91:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%s",&s); ^ user.cpp:124:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%s",&c); ^ user.cpp:135:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%c",&c); ^ user.cpp:136:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%c",&c); ^ user.cpp:139:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%c",&c); ^ user.cpp:140:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fs(f,"%s",&funct[k].exp); ^ user.cpp: In function ‘int functie(char, int*)’: user.cpp:60:30: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int n=strlen(funct[k].exp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
20ms436kbIncorect0
30ms440kbIncorect0
40ms432kbIncorect0
50ms400kbKilled by signal 11(SIGSEGV).0
60ms432kbIncorect0
70ms440kbOK10
80ms444kbIncorect0
90ms440kbIncorect0
100ms428kbIncorect0
Punctaj total10

Ceva nu functioneaza?