Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listApr 17, 2024 21:17Joad NacerJoad NacerScore: 4,961Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 21:174,90541,165,77514,650,0001,046,0002,379,776
2Apr 17, 2024 21:174,90543,088,33314,650,0001,046,0002,289,664
3Apr 17, 2024 21:174,90834,498,68014,659,0001,047,0002,289,664
4Apr 17, 2024 21:174,90831,291,99714,660,0001,047,0002,269,184
5Apr 17, 2024 21:174,91729,853,95214,685,0001,048,0002,289,664
6Apr 17, 2024 21:174,95848,580,93814,875,000991,0002,289,664
7Apr 17, 2024 21:174,96138,627,82313,890,0001,984,0002,289,664
8Apr 17, 2024 21:175,06638,703,17714,184,0002,026,0002,494,464
9Apr 17, 2024 21:175,07635,129,36015,228,0001,015,0002,289,664
10Apr 17, 2024 21:175,13379,413,50916,425,27802,297,856
11Apr 17, 2024 21:175,14757,562,74516,471,85702,297,856
12Apr 17, 2024 21:175,16776,483,41516,535,03602,174,976