Borderou de evaluare (job #1312492)

Utilizator geniucosOncescu Costin geniucos Data 9 ianuarie 2015 16:37:42
Problema Robot2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 43

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("robot2.in", "r", stdin); ^ user.cpp:68:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("robot2.out", "w", stdout); ^ user.cpp:70:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &N); ^ user.cpp:73:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1); ^ user.cpp:77:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d", &X1, &Y1, &X2, &Y2); ^ user.cpp:132:17: warning: ‘cost’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (fin[1][k1] + fin[0][k2] + C < cost) ^ /tmp/cctmkWxk.o: In function `main': user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms352kbRaspuns partial corect!5
20ms744kbRaspuns partial corect!5
34ms1376kbRaspuns partial corect!2
4100ms8156kbCorect!10
560ms6828kbRaspuns partial corect!2
6344ms20456kbCorect!10
7344ms21000kbRaspuns partial corect!5
8Depăşit72924kbTime limit exceeded.0
9252ms29220kbRaspuns partial corect!2
10128ms18240kbRaspuns partial corect!2
Punctaj total43

Ceva nu functioneaza?