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 listNov 25, 2024 22:13Dmitrii KravchenkoDmitrii KravchenkoScore: 4,876Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 22:134,84335,247,15613,432,0002,066,0002,281,472
2Nov 25, 2024 22:134,85533,038,40913,464,0002,071,0002,281,472
3Nov 25, 2024 22:134,87149,724,88914,549,0001,039,0002,293,760
4Nov 25, 2024 22:134,87232,465,07814,552,0001,039,0002,281,472
5Nov 25, 2024 22:134,87644,547,56814,562,0001,040,0002,277,376
6Nov 25, 2024 22:134,87833,354,92814,570,0001,040,0002,269,184
7Nov 25, 2024 22:134,89432,846,92614,616,0001,044,0002,277,376
8Nov 25, 2024 22:134,90933,654,95312,763,0002,945,0002,281,472
9Nov 25, 2024 22:134,91546,921,83714,680,0001,048,0002,273,280