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 16, 2024 14:52Robert BlackwellRobert BlackwellScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 14:525,27143,571,60014,884,0001,984,0002,265,088
2Apr 16, 2024 14:525,27334,862,04215,881,000992,0002,265,088
3Apr 16, 2024 14:525,27945,441,16614,906,0001,987,0002,527,232
4Apr 16, 2024 14:525,27941,295,30815,900,000993,0002,392,064
5Apr 16, 2024 14:525,28944,962,35815,869,0001,057,0002,265,088
6Apr 16, 2024 14:525,29040,216,17315,871,0001,058,0002,506,752
7Apr 16, 2024 14:525,29240,824,97016,933,00002,506,752
8Apr 16, 2024 14:525,31441,954,17315,004,0002,000,0002,265,088
9Apr 16, 2024 14:525,31544,414,16416,009,0001,000,0002,265,088
10Apr 16, 2024 14:525,50380,280,68417,610,81602,277,376
11Apr 16, 2024 14:525,53795,076,75817,719,99102,281,472
12Apr 16, 2024 14:525,57985,867,27617,852,22002,281,472