Job 21087

Owner
Rajath R Pai
Problem
Bitcount
Source
0.35KB
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:24: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout <<endl<< count;
                        ^

Results

Test numberResultTime
1200.2804s
2200.2810s
3200.2818s
4200.2804s
5200.2829s
Questions?

Sponsors Gold