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 15:45Dmitrii KravchenkoDmitrii KravchenkoScore: 4,916Success
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 15:454,89345,511,41013,571,0002,087,0002,281,472
2Nov 25, 2024 15:454,89932,628,05014,631,0001,045,0002,281,472
3Nov 25, 2024 15:454,90736,399,52014,655,0001,046,0002,281,472
4Nov 25, 2024 15:454,90842,199,96414,659,0001,047,0002,281,472
5Nov 25, 2024 15:454,91650,961,21214,682,0001,048,0002,281,472
6Nov 25, 2024 15:454,91639,850,55813,633,0002,097,0002,281,472
7Nov 25, 2024 15:454,95538,050,64713,875,0001,982,0002,281,472
8Nov 25, 2024 15:454,95742,815,24713,880,0001,982,0002,277,376
9Nov 25, 2024 15:454,96337,402,03713,895,0001,985,0002,281,472