Pagini recente » Borderou de evaluare (job #500418) | Borderou de evaluare (job #2109262) | Borderou de evaluare (job #2014828) | Borderou de evaluare (job #2313151) | Borderou de evaluare (job #2404643)
Borderou de evaluare (job #2404643)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
scanf("%d", &mat[i][j]);
^
main.cpp:21:32: warning: unused variable 'mult' [-Wunused-variable]
int n,m,sx,sy,fx,fy,i,j,ok,mult=-1,k,minn=2000000000;
^~~~
main.cpp:19:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("car.in", "r",stdin);
^
main.cpp:20:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("car.out", "w",stdout);
^
main.cpp:22:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:23:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &sx, &sy, &fx, &fy);
^
main.cpp:26:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 393kb | Ok! | 10 |
| 2 | 3ms | 393kb | Ok! | 10 |
| 3 | 24ms | 2490kb | Ok! | 10 |
| 4 | 25ms | 2097kb | Ok! | 10 |
| 5 | 238ms | 17039kb | Ok! | 10 |
| 6 | 276ms | 10616kb | Ok! | 10 |
| 7 | 300ms | 11534kb | Time limit exceeded | 0 |
| 8 | 303ms | 14024kb | Time limit exceeded | 0 |
| 9 | 303ms | 13893kb | Time limit exceeded | 0 |
| 10 | 300ms | 13762kb | Time limit exceeded | 0 |
| Punctaj total | 60 |