Borderou de evaluare (job #1444323)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 29 mai 2015 16:04:22
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/ccCeSRHY.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
10ms348kbOK10
20ms460kbOK10
30ms564kbOK10
40ms404kbKilled by signal 6(SIGABRT).0
50ms404kbKilled by signal 6(SIGABRT).0
60ms408kbKilled by signal 6(SIGABRT).0
70ms408kbKilled by signal 6(SIGABRT).0
80ms400kbKilled by signal 6(SIGABRT).0
90ms404kbKilled by signal 6(SIGABRT).0
100ms404kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?