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 18, 2024 23:48Joad NacerJoad NacerScore: 5,038Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 23:484,96638,643,74114,831,0001,059,0002,523,136
2Apr 18, 2024 23:484,98836,604,08113,965,0001,995,0002,289,664
3Apr 18, 2024 23:484,99139,657,77913,974,0001,996,0002,269,184
4Apr 18, 2024 23:484,99334,188,08913,981,0001,997,0002,289,664
5Apr 18, 2024 23:485,00835,584,12414,022,0002,003,0002,289,664
6Apr 18, 2024 23:485,01833,671,03014,052,0002,007,0002,281,472
7Apr 18, 2024 23:485,03831,831,00715,115,0001,007,0002,289,664
8Apr 18, 2024 23:485,04142,056,63414,114,0002,016,0002,277,376
9Apr 18, 2024 23:485,05937,969,37914,166,0002,023,0002,355,200
10Apr 18, 2024 23:485,07977,941,80316,254,36202,179,072
11Apr 18, 2024 23:485,09970,931,82816,317,71102,289,664
12Apr 18, 2024 23:485,10296,028,10716,325,89802,179,072