Borderou de evaluare (job #1759296)

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

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
10ms476kbIncorect0
20ms472kbIncorect0
30ms472kbOK10
40ms472kbOK10
50ms484kbIncorect0
612ms488kbIncorect0
720ms492kbIncorect0
80ms468kbKilled by signal 11(SIGSEGV).0
90ms512kbKilled by signal 11(SIGSEGV).0
100ms472kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?