Borderou de evaluare (job #1751381)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 1 septembrie 2016 12:30:09
Problema Conexiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("conexiuni.in", "r", stdin); ^ user.cpp:16:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("conexiuni.out", "w", stdout); ^ user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:20:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(foo); gets(bar); ^ user.cpp:20:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(foo); gets(bar); ^ /tmp/ccDOgtI1.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK10
20ms472kbOK10
38ms472kbOK10
424ms484kbOK10
532ms480kbOK10
656ms488kbOK10
7124ms496kbOK10
8244ms504kbOK10
9Depăşit476kbTime limit exceeded.0
10Depăşit472kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?