Borderou de evaluare (job #1681075)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 9 aprilie 2016 11:24:57
Problema Findmin Status done
Runda Grigore Moisil 2016 Clasa a 9-a 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:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i]); ^ /tmp/cczICAWg.o: In function `main': user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
24ms272kbOK10
34ms276kbOK10
44ms272kbOK10
5Depăşit1324kbTime limit exceeded.0
6Depăşit1328kbTime limit exceeded.0
7Depăşit1532kbTime limit exceeded.0
8Depăşit11476kbTime limit exceeded.0
9Depăşit11468kbTime limit exceeded.0
10Depăşit11488kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?