Borderou de evaluare (job #1695560)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 27 aprilie 2016 14:13:52
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/cc5GE1K0.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
10ms408kbCorect!10
20ms1108kbCorect!10
38ms2316kbCorect!10
476ms12200kbCorect!10
560ms11220kbCorect!10
6236ms29608kbCorect!10
7236ms29604kbCorect!10
8Depăşit97984kbTime limit exceeded.0
9252ms48692kbCorect!10
10148ms28176kbCorect!10
Punctaj total90

Ceva nu functioneaza?