Borderou de evaluare (job #639563)

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:23:01 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': 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,"%lld%lld",&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,"%lld%lld",&v[i].x,&v[i].y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 114 kb OK 10 10
2 1 ms 114 kb OK 10 10
3 1 ms 114 kb OK 10 10
4 1 ms 114 kb OK 10 10
5 1 ms 110 kb OK 10 10
6 1 ms 114 kb OK 10 30
7 1 ms 114 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10 20
10 16 ms 376 kb OK 10
Punctaj total 100