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 17:50Joad NacerJoad NacerScore: 5,037Success
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 17:504,98333,039,93013,954,0001,993,0002,269,184
2Apr 17, 2024 17:504,99438,265,43113,985,0001,997,0002,269,184
3Apr 17, 2024 17:505,01042,108,80714,028,0002,004,0002,527,232
4Apr 17, 2024 17:505,01145,126,23714,030,0002,004,0002,265,088
5Apr 17, 2024 17:505,01337,419,34414,035,0002,005,0002,289,664
6Apr 17, 2024 17:505,03249,706,95514,090,0002,012,0002,289,664
7Apr 17, 2024 17:505,03741,656,60814,104,0002,014,0002,273,280
8Apr 17, 2024 17:505,04134,161,48215,123,0001,008,0002,269,184
9Apr 17, 2024 17:505,04834,293,87514,136,0002,019,0002,523,136
10Apr 17, 2024 17:505,22484,397,60216,716,29002,293,760
11Apr 17, 2024 17:505,23785,689,07116,758,54302,293,760
12Apr 17, 2024 17:505,24672,707,16516,787,53802,293,760