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 listJul 28, 2024 07:40BenBenScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:404,99937,012,56914,998,000999,0002,383,872
2Jul 28, 2024 07:405,01335,465,62215,038,0001,002,0002,265,088
3Jul 28, 2024 07:405,03140,635,13114,087,0002,012,0002,392,064
4Jul 28, 2024 07:405,03640,722,44914,100,0002,014,0002,265,088
5Jul 28, 2024 07:405,04134,486,14014,115,0002,016,0002,265,088
6Jul 28, 2024 07:405,04337,543,72214,121,0002,017,0002,387,968
7Jul 28, 2024 07:405,05337,327,25214,150,0002,021,0002,265,088
8Jul 28, 2024 07:405,06444,720,90614,181,0002,025,0002,379,776
9Jul 28, 2024 07:405,06835,422,28814,190,0002,027,0002,265,088
10Jul 28, 2024 07:405,24791,210,25616,789,10602,269,184
11Jul 28, 2024 07:405,29276,829,46616,935,05202,297,856
12Jul 28, 2024 07:405,29686,055,52716,947,27002,289,664