Borderou de evaluare (job #1695545)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee(int, int, int (*)[1005][4])’:
user.cpp:39:15: warning: unused variable ‘currentL’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:39:24: warning: unused variable ‘currentC’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:39:33: warning: unused variable ‘currentDirection’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:39:50: warning: unused variable ‘currentCost’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp: In function ‘int main()’:
user.cpp:63: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:64: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:66:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:73:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
user.cpp:76: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Corect! | 10 |
2 | 0ms | 1120kb | Corect! | 10 |
3 | 8ms | 2324kb | Raspuns partial corect! | 2 |
4 | 100ms | 12216kb | Corect! | 10 |
5 | 84ms | 11236kb | Raspuns partial corect! | 2 |
6 | 296ms | 29612kb | Corect! | 10 |
7 | 296ms | 29612kb | Corect! | 10 |
8 | 528ms | 55444kb | Gresit! | 0 |
9 | 488ms | 48404kb | Raspuns partial corect! | 2 |
10 | 212ms | 28176kb | Corect! | 10 |
Punctaj total | 66 |