Borderou de evaluare (job #1597036)

Utilizator PraetorGrigorosoaia Florin Praetor Data 11 februarie 2016 16:53:34
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:31:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[255]’ [-Wformat=] fscanf(in, "%s", &SIR); ^ user.cpp: In function ‘void lee()’: user.cpp:68:15: warning: operation on ‘prim’ may be undefined [-Wsequence-point] prim++; ^ user.cpp: In function ‘void read()’: user.cpp:28:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &nr_linii_coloane); ^ user.cpp:31:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", &SIR); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms688kbKilled by signal 11(SIGSEGV).0
20ms696kbKilled by signal 11(SIGSEGV).0
30ms692kbKilled by signal 11(SIGSEGV).0
40ms688kbKilled by signal 11(SIGSEGV).0
512ms872kbIncorect0
60ms772kbKilled by signal 11(SIGSEGV).0
70ms688kbKilled by signal 11(SIGSEGV).0
80ms752kbKilled by signal 11(SIGSEGV).0
90ms692kbKilled by signal 11(SIGSEGV).0
1016ms960kbIncorect0
Punctaj total0

Ceva nu functioneaza?