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 15:50Joad NacerJoad NacerScore: 5,532Success
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 15:505,48143,413,86416,508,0001,031,0002,289,664
2Apr 17, 2024 15:505,49336,950,95716,544,0001,034,0002,289,664
3Apr 17, 2024 15:505,50042,854,45616,564,0001,035,0002,523,136
4Apr 17, 2024 15:505,50349,267,66816,573,0001,035,0002,289,664
5Apr 17, 2024 15:505,51744,246,12416,615,0001,038,0002,289,664
6Apr 17, 2024 15:505,52237,119,79216,632,0001,039,0002,289,664
7Apr 17, 2024 15:505,53237,093,07817,701,00002,289,664
8Apr 17, 2024 15:505,56544,409,40615,829,0001,978,0002,269,184
9Apr 17, 2024 15:505,58945,441,42716,891,000993,0002,269,184
10Apr 17, 2024 15:505,70587,683,44218,255,22802,285,568
11Apr 17, 2024 15:505,72097,178,95618,305,11302,306,048
12Apr 17, 2024 15:505,73779,095,21418,359,90302,179,072