Borderou de evaluare (job #1759294)

Utilizator AhileGigel Frone Ahile Data 18 septembrie 2016 19:52:08
Problema Edist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%s %s", *word1, *word2); ^ user.cpp:23:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:18:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r",stdin); ^ user.cpp:19:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT,"w",stdout); ^ user.cpp:22:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &k); ^ user.cpp:23:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %s", *word1, *word2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbIncorect0
20ms468kbIncorect0
30ms460kbIncorect0
40ms460kbIncorect0
50ms440kbKilled by signal 11(SIGSEGV).0
64ms444kbKilled by signal 11(SIGSEGV).0
74ms444kbKilled by signal 11(SIGSEGV).0
80ms428kbKilled by signal 11(SIGSEGV).0
90ms428kbKilled by signal 11(SIGSEGV).0
100ms432kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?