Borderou de evaluare (job #1650094)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 11 martie 2016 16:28:42
Problema Stiva Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("stiva.in","r",stdin); ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("stiva.out","w",stdout); ^ user.cpp:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); n = strlen(s + 1); ^ /tmp/ccVXijmv.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
10ms448kbIncorect0
20ms480kbIncorect0
30ms608kbIncorect0
40ms520kbIncorect0
50ms732kbIncorect0
64ms916kbIncorect0
712ms1036kbIncorect0
828ms1220kbIncorect0
952ms1408kbIncorect0
1048ms1416kbIncorect0
Punctaj total0

Ceva nu functioneaza?