Borderou de evaluare (job #1695558)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 27 aprilie 2016 14:09:55
Problema Robot2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void lee(int, int, int (*)[1005][4])’: user.cpp:40:15: warning: unused variable ‘currentL’ [-Wunused-variable] int i,j,k,currentL,currentC,currentDirection,currentCost; ^ user.cpp:40:24: warning: unused variable ‘currentC’ [-Wunused-variable] int i,j,k,currentL,currentC,currentDirection,currentCost; ^ user.cpp:40:33: warning: unused variable ‘currentDirection’ [-Wunused-variable] int i,j,k,currentL,currentC,currentDirection,currentCost; ^ user.cpp:40:50: warning: unused variable ‘currentCost’ [-Wunused-variable] int i,j,k,currentL,currentC,currentDirection,currentCost; ^ user.cpp: In function ‘int main()’: user.cpp:64:35: 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:65:37: 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:67:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:73:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:79:38: 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); ^ /tmp/ccoNazTK.o: In function `main': user.cpp:(.text.startup+0x100): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbCorect!10
20ms1112kbCorect!10
38ms2316kbCorect!10
488ms12204kbCorect!10
568ms11224kbCorect!10
6256ms29604kbCorect!10
7260ms29604kbCorect!10
8Depăşit97964kbTime limit exceeded.0
9288ms48688kbCorect!10
10168ms28172kbCorect!10
Punctaj total90

Ceva nu functioneaza?