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 listJan 28, 2025 16:43Oleg KovalovOleg KovalovScore: 5,895Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 16:435,84841,480,40518,712,00002,289,664
2Jan 28, 2025 16:435,84941,151,85518,718,00002,289,664
3Jan 28, 2025 16:435,89349,815,07417,866,000992,0002,281,472
4Jan 28, 2025 16:435,89448,599,39517,870,000992,0002,289,664
5Jan 28, 2025 16:435,89539,315,12716,878,0001,985,0002,289,664
6Jan 28, 2025 16:435,89554,108,50916,880,0001,985,0002,289,664
7Jan 28, 2025 16:435,89845,941,32316,886,0001,986,0002,281,472
8Jan 28, 2025 16:435,90144,134,06617,890,000993,0002,289,664
9Jan 28, 2025 16:435,90138,960,40618,884,00002,289,664