Borderou de evaluare (job #1681585)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 9 aprilie 2016 16:27:21
Problema Findmin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("findmin.in", "r", stdin); ^ user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("findmin.out", "w", stdout); ^ user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &n); ^ user.cpp:18:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (str); ^ user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i]); ^ /tmp/ccf7RI7t.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
24ms296kbOK10
34ms300kbOK10
48ms296kbOK10
5Depăşit1340kbTime limit exceeded.0
6Depăşit1492kbTime limit exceeded.0
7Depăşit1528kbTime limit exceeded.0
8Depăşit11452kbTime limit exceeded.0
9Depăşit11476kbTime limit exceeded.0
10Depăşit11464kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?