Borderou de evaluare (job #1736246)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 august 2016 14:33:27
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:167:34: 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:168:36: 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:170:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccIgtx3h.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1344kbOK10
20ms2240kbOK10
34ms3204kbOK10
44ms684kbKilled by signal 6(SIGABRT).0
54ms684kbKilled by signal 6(SIGABRT).0
64ms684kbKilled by signal 6(SIGABRT).0
74ms684kbKilled by signal 6(SIGABRT).0
84ms688kbKilled by signal 6(SIGABRT).0
94ms680kbKilled by signal 6(SIGABRT).0
104ms684kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?