Borderou de evaluare (job #2404643)

Utilizator bogdi1bogdan bancuta bogdi1 Data 13 aprilie 2019 11:01:15
Problema Car Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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
13ms393kbOk!10
23ms393kbOk!10
324ms2490kbOk!10
425ms2097kbOk!10
5238ms17039kbOk!10
6276ms10616kbOk!10
7300ms11534kbTime limit exceeded0
8303ms14024kbTime limit exceeded0
9303ms13893kbTime limit exceeded0
10300ms13762kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?