Job 21089

Owner
Rajath R Pai
Problem
Bitcount
Source
0.34KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:11:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < binary.length(); ++i)
                      ^
prog.cpp:18:18: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout << count;
                  ^

Results

Test numberResultTime
1200.2826s
2200.2803s
3200.2786s
4200.2821s
5200.2797s
Questions?

Sponsors Gold