Borderou de evaluare (job #709261)

Utilizator avatar LucaLucaM Muresan Luca LucaLucaM IP ascuns
Problemă Fractal (baraj gimnaziu) Compilator cpp-32
Rundă pana_se_iese_de_la_liceu Status evaluat
Dată 18 mar. 2023 11:41:14 Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void bigint::normalize()': main.cpp:15:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 15 | for (int i=0; i<v.size(); i++) | ~^~~~~~~~~ main.cpp:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 24 | if (i == v.size() - 1) v.push_back(0); | ~~^~~~~~~~~~~~~~~ main.cpp: In member function 'bigint bigint::operator+(const bigint&)': main.cpp:47:24: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 47 | for (int i=0; i<max(v.size(), other.v.size()); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:50:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 50 | if (i < v.size()) | ~~^~~~~~~~~~ main.cpp:52:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 52 | if (i < other.v.size()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'void bigint::print()': main.cpp:64:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 64 | if (i != v.size()-1) | ~~^~~~~~~~~~~~~ main.cpp: In member function 'bigint bigint::operator-(const bigint&)': main.cpp:77:24: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 77 | for (int i=0; i<max(v.size(), other.v.size()); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:80:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 80 | if (i < v.size()) | ~~^~~~~~~~~~ main.cpp:82:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 82 | if (i < other.v.size()) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'bigint bigint::operator*(int)': main.cpp:94:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 94 | for (int i=0; i<v.size(); i++) | ~^~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 3
2 1 ms 245 kb OK 3
3 1 ms 245 kb OK 3
4 1 ms 245 kb OK 3
5 1 ms 245 kb OK 3
6 1 ms 245 kb OK 3
7 9 ms 249 kb OK 3
8 9 ms 249 kb OK 3
9 11 ms 249 kb OK 3
10 89 ms 241 kb OK 3
11 1 ms 245 kb OK 7
12 2 ms 245 kb OK 7
13 2 ms 245 kb OK 7
14 2 ms 245 kb OK 7
15 96 ms 249 kb OK 7
16 78 ms 245 kb OK 7
17 159 ms 249 kb OK 7
18 249 ms 241 kb OK 7
19 49 ms 249 kb OK 7
20 179 ms 249 kb OK 7
Punctaj total 100