Borderou de evaluare (job #3201175)

Utilizator Radu_VasileRadu Vasile Radu_Vasile Data 6 februarie 2024 23:10:38
Problema Inv Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:18: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 29 | fscanf( fin, "%d%d", &n, &m ); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:29:20: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] 29 | fscanf( fin, "%d%d", &n, &m ); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:31:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 31 | fscanf(fin, "%d", &v[i].nr); | ~^ ~~~~~~~~ | | | | | long long int* | int* | %lld main.cpp:37:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 37 | printf("%d ", v[i].index); | ~^ ~~~~~~~~~~ | | | | int long long int | %lld main.cpp:25:13: warning: unused variable 'x' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^ main.cpp:25:16: warning: unused variable 'q' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^ main.cpp:25:19: warning: unused variable 'a' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^ main.cpp:25:22: warning: unused variable 'b' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^ main.cpp:25:28: warning: unused variable 'st' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^~ main.cpp:25:32: warning: unused variable 'dr' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^~ main.cpp:25:36: warning: unused variable 'mij' [-Wunused-variable] 25 | int n, i, x, q, a, b, m, st, dr, mij, sol; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms2789kbKilled by Signal 110
29ms2789kbKilled by Signal 110
310ms2793kbKilled by Signal 110
414ms2793kbKilled by Signal 110
520ms2793kbKilled by Signal 110
621ms2793kbKilled by Signal 110
719ms2793kbKilled by Signal 110
823ms2793kbKilled by Signal 110
921ms2813kbKilled by Signal 110
1011ms2793kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?