Borderou de evaluare (job #639562)

Utilizator avatar Mihai.Mocanu Mihai Adrian Mocanu Mihai.Mocanu IP ascuns
Problemă Rucsac fractionar Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 mar. 2022 13:21:55 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:60:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 60 | fscanf(fin,"%d%d",&n,&k); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:60:18: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] 60 | fscanf(fin,"%d%d",&n,&k); | ~^ ~~ | | | | int* long long int* | %lld main.cpp:55:22: warning: unused variable 'j' [-Wunused-variable] 55 | long long n,k,i,r,j,c; | ^ main.cpp:55:24: warning: unused variable 'c' [-Wunused-variable] 55 | long long n,k,i,r,j,c; | ^ main.cpp:56:10: warning: unused variable 'aux' [-Wunused-variable] 56 | double aux; | ^~~ main.cpp:60:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf(fin,"%d%d",&n,&k); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:63:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fscanf(fin,"%d%d",&v[i].x,&v[i].y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 103 ms 118 kb Time limit exceeded 0 0
2 103 ms 118 kb Time limit exceeded 0 0
3 109 ms 118 kb Time limit exceeded 0 0
4 101 ms 114 kb Time limit exceeded 0 0
5 109 ms 118 kb Time limit exceeded 0 0
6 116 ms 118 kb Time limit exceeded 0 0
7 101 ms 118 kb Time limit exceeded 0
8 108 ms 245 kb Time limit exceeded 0
9 101 ms 245 kb Time limit exceeded 0 0
10 109 ms 245 kb Time limit exceeded 0
Punctaj total 0