Borderou de evaluare (job #1554342)

Utilizator andreinmAndrei andreinm Data 21 decembrie 2015 12:03:44
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < strlen (s) ; ++i) ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("text.in" , "r" , stdin); ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("text.out" , "w" , stdout); ^ user.cpp:12:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccrcflFi.o: In function `main': user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOk!10
20ms248kbWrong answer!0
30ms300kbKilled by signal 6(SIGABRT).0
40ms248kbOk!10
50ms248kbWrong answer!0
60ms252kbWrong answer!0
70ms184kbKilled by signal 8(SIGFPE).0
80ms252kbWrong answer!0
90ms304kbKilled by signal 6(SIGABRT).0
100ms300kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?