Borderou de evaluare (job #2016514)

Utilizator cristina_borzaCristina Borza cristina_borza Data 29 august 2017 16:06:11
Problema Parpal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("parpal.in", "r", stdin); ^ user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("parpal.out", "w", stdout); ^ user.cpp:23:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &T); ^ user.cpp:25:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccR7XYAG.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
212ms268kbOK10
388ms344kbOK10
492ms348kbOK10
596ms348kbOK10
6Depăşit740kbTime limit exceeded.0
7Depăşit1036kbTime limit exceeded.0
8Depăşit1072kbTime limit exceeded.0
9Depăşit1128kbTime limit exceeded.0
100ms252kbOK10
Punctaj total60

Ceva nu functioneaza?