Pagini recente »
Borderou de evaluare (job #684198)
Borderou de evaluare (job #684198)
Raport evaluator
Compilare:
main.cpp: In function 'void debug(std::vector<int>)':
main.cpp:52:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
52 | for(int i = 0;i < v.size();i++) cout << v[i] << ' ';
| ~~^~~~~~~~~~
main.cpp: In function 'std::string decToBin(int, int)':
main.cpp:71:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare]
71 | while(ans.size() < sz) ans.insert(ans.begin(), '0');
| ~~~~~~~~~~~^~~~
main.cpp:64:9: warning: unused variable 'it' [-Wunused-variable]
64 | int it = 0;
| ^~
main.cpp: In function 'int main()':
main.cpp:147:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
147 | for(int i = 0;i < v.size();i++)
| ~~^~~~~~~~~~
main.cpp:170:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
170 | while(st < v.size())
| ~~~^~~~~~~~~~
main.cpp:175:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
175 | for(int i = st;i + p2[it] < sum.size();)
| ~~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
2 ms
|
114 kb
|
Incorect
|
0
|
5
|
93 ms
|
643 kb
|
Killed by Signal 11
|
0
|
6
|
95 ms
|
499 kb
|
Killed by Signal 11
|
0
|
7
|
79 ms
|
634 kb
|
Killed by Signal 11
|
0
|
8
|
483 ms
|
638 kb
|
Killed by Signal 11
|
0
|
9
|
505 ms
|
774 kb
|
Killed by Signal 11
|
0
|
10
|
513 ms
|
774 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|