Borderou de evaluare (job #611514)

Utilizator a_h1926Heidelbacher Andrei a_h1926 Data 1 septembrie 2011 20:11:48
Problema Risipa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Read()’: user.cpp:52:29: error: ‘memset’ was not declared in this scope memset (C, 0, sizeof (C)); ^ user.cpp:53:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[105]’ [-Wformat=] scanf ("%s", &C); ^ user.cpp:54:19: error: ‘strlen’ was not declared in this scope S[0]=strlen (C); ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("risipa.in", "r", stdin); ^ user.cpp:53:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &C); ^ user.cpp:59:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &X, &Y); ^ user.cpp: In function ‘int main()’: user.cpp:83:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("risipa.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms412kbOK10
24ms440kbOK10
34ms428kbOK10
44ms436kbOK10
54ms432kbOK10
64ms440kbOK10
74ms452kbOK10
84ms440kbOK10
94ms448kbOK10
104ms452kbOK10
Punctaj total0

Ceva nu functioneaza?