Borderou de evaluare (job #2288285)

Utilizator Andrei_RAndrei Roceanu Andrei_R Data 23 noiembrie 2018 00:09:25
Problema Nr 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:58:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] scanf("%lld %d %d %d %d", &L, &B,&N,&M, &P); ^ main.cpp:58:44: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:58:44: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=] main.cpp:58:44: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long int*' [-Wformat=] main.cpp:106:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d", sol); ^ main.cpp:54:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ main.cpp:55:28: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(file_in,"r",stdin); ^ main.cpp:56:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(file_out,"w",stdout); ^ main.cpp:58:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %d %d %d %d", &L, &B,&N,&M, &P); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
35ms262kbOK10
425ms262kbOK10
533ms393kbOK10
6115ms393kbOK10
7207ms524kbOK10
8226ms393kbOK10
9400ms524kbTime limit exceeded0
10401ms524kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?