Pagini recente »
Borderou de evaluare (job #660337)
|
2014-05-27-clasa-78-tema-28
|
Borderou de evaluare (job #521322)
|
Borderou de evaluare (job #728432)
|
Borderou de evaluare (job #684199)
Borderou de evaluare (job #684199)
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:118:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
118 | for(int i = 0;i < v.size();i++)
| ~~^~~~~~~~~~
main.cpp:159:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
159 | while(st < v.size())
| ~~~^~~~~~~~~~
main.cpp:165:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
165 | for(int i = st;i + p < sum.size();)
| ~~~~~~^~~~~~~~~~~~
main.cpp:162:13: warning: unused variable 'it' [-Wunused-variable]
162 | int it = 0;
| ^~
main.cpp:82:9: warning: unused variable 'pt2' [-Wunused-variable]
82 | int pt2 = 1;
| ^~~
main.cpp:83:9: warning: unused variable 'pt3' [-Wunused-variable]
83 | int pt3 = 1;
| ^~~
main.cpp:84:9: warning: unused variable 'pt5' [-Wunused-variable]
84 | int pt5 = 1;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
2 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
104 ms
|
765 kb
|
Incorect
|
0
|
6
|
99 ms
|
638 kb
|
Incorect
|
0
|
7
|
77 ms
|
380 kb
|
Incorect
|
0
|
8
|
448 ms
|
630 kb
|
Incorect
|
0
|
9
|
509 ms
|
765 kb
|
OK
|
10
|
10
|
503 ms
|
770 kb
|
Incorect
|
0
|
Punctaj total
|
20
|