Borderou de evaluare (job #1639733)

Utilizator stefan_bogdanstefan bogdan stefan_bogdan Data 8 martie 2016 13:46:06
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[256]’ [-Wformat=] fscanf(f, "%s", &s); ^ user.cpp:22:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ user.cpp:25:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK!10
20ms452kbOK!10
30ms452kbOK!10
40ms456kbOK!10
50ms460kbOK!10
60ms456kbOK!10
70ms392kbKilled by signal 11(SIGSEGV).0
80ms452kbGresit!0
90ms456kbGresit!0
100ms412kbOK!10
Punctaj total70

Ceva nu functioneaza?