Borderou de evaluare (job #1444324)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 29 mai 2015 16:04:56
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in","r",stdin); ^ user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out","w",stdout); ^ user.cpp:23:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux + 1); n = strlen(aux + 1); ^ /tmp/ccwP6n7e.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms352kbOK10
20ms456kbOK10
30ms560kbOK10
40ms400kbKilled by signal 6(SIGABRT).0
50ms400kbKilled by signal 6(SIGABRT).0
60ms404kbKilled by signal 6(SIGABRT).0
70ms404kbKilled by signal 6(SIGABRT).0
80ms404kbKilled by signal 6(SIGABRT).0
90ms396kbKilled by signal 6(SIGABRT).0
100ms400kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?