Pagini recente » Borderou de evaluare (job #313986) | Borderou de evaluare (job #804422) | Borderou de evaluare (job #804688) | Borderou de evaluare (job #1747167) | Borderou de evaluare (job #2407185)
Borderou de evaluare (job #2407185)
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 | 21ms | 2097kb | Ok! | 10 |
4 | 24ms | 1835kb | Ok! | 10 |
5 | 193ms | 13631kb | Ok! | 10 |
6 | 298ms | 9699kb | Ok! | 10 |
7 | 300ms | 10616kb | Time limit exceeded | 0 |
8 | 300ms | 12189kb | Time limit exceeded | 0 |
9 | 303ms | 12845kb | Time limit exceeded | 0 |
10 | 303ms | 12713kb | Time limit exceeded | 0 |
Punctaj total | 60 |