Borderou de evaluare (job #724127)

Utilizator avatar EroareDeCompilare Andrei Postolache EroareDeCompilare IP ascuns
Problemă Partitiile unei multimi Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 iun. 2023 18:47:35 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void bkt(int, int)': main.cpp:26:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 26 | for(j = 0; j < bucket[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:45:9: warning: unused variable 'i' [-Wunused-variable] 45 | int i,n; | ^ main.cpp:46:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | freopen("partmult.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:47:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | freopen("partmult.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | scanf("%d",&n); | ~~~~~^~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 241 kb OK 10
8 19 ms 172 kb OK 10
9 129 ms 229 kb OK 10
10 459 ms 131 kb Time limit exceeded 0
Punctaj total 90