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 02:55Joad NacerJoad NacerScore: 5,508Success
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 02:555,44433,311,07617,420,00002,289,664
2Apr 17, 2024 02:555,46334,368,04916,455,0001,028,0002,273,280
3Apr 17, 2024 02:555,46939,660,82616,471,0001,029,0002,289,664
4Apr 17, 2024 02:555,47939,913,37316,501,0001,031,0002,289,664
5Apr 17, 2024 02:555,48836,038,47217,561,00002,273,280
6Apr 17, 2024 02:555,50045,955,44816,564,0001,035,0002,363,392
7Apr 17, 2024 02:555,50845,232,04717,624,00002,289,664
8Apr 17, 2024 02:555,50934,968,06516,592,0001,037,0002,289,664
9Apr 17, 2024 02:555,52347,196,34316,633,0001,039,0002,359,296
10Apr 17, 2024 02:555,67891,017,08418,169,60202,293,760
11Apr 17, 2024 02:555,68880,057,85318,202,83802,301,952
12Apr 17, 2024 02:555,76178,308,70718,434,08002,285,568