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 listOct 18, 2024 10:39Dmitrii KravchenkoDmitrii KravchenkoScore: 6,253Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 18, 2024 10:396,25341,823,27118,008,0002,000,0002,281,472
2Oct 18, 2024 10:396,25341,787,22419,008,0001,000,0002,277,376
3Oct 18, 2024 10:396,26042,694,56218,030,0002,003,0002,265,088