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 18, 2024 16:03AnSaAnSaScore: 5,306Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 16:035,27542,781,76914,895,0001,986,0002,375,680
2Jan 18, 2024 16:035,28435,100,45216,909,00002,265,088
3Jan 18, 2024 16:035,29345,064,80014,944,0001,992,0002,379,776
4Jan 18, 2024 16:035,29344,628,17315,942,000996,0002,527,232
5Jan 18, 2024 16:035,29343,407,39615,943,000996,0002,498,560
6Jan 18, 2024 16:035,30330,695,27015,970,000998,0002,265,088
7Jan 18, 2024 16:035,30647,188,93615,980,000998,0002,265,088
8Jan 18, 2024 16:035,32942,943,03415,048,0002,006,0002,265,088
9Jan 18, 2024 16:035,33736,570,33617,077,00002,265,088
10Jan 18, 2024 16:035,48676,157,12917,554,20102,269,184
11Jan 18, 2024 16:035,51680,479,02317,651,33502,277,376
12Jan 18, 2024 16:035,52062,274,16317,665,04402,273,280