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 20, 2024 15:41Matt StuchlikMatt StuchlikScore: 5,116Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 15:415,08733,055,34415,260,0001,017,0002,289,664
2Jul 20, 2024 15:415,09332,681,99514,260,0002,037,0002,285,568
3Jul 20, 2024 15:415,09738,573,78514,272,0002,038,0002,289,664
4Jul 20, 2024 15:415,10643,288,46515,319,0001,021,0002,273,280
5Jul 20, 2024 15:415,11546,076,18615,345,0001,023,0002,289,664
6Jul 20, 2024 15:415,11634,193,07315,348,0001,023,0002,289,664
7Jul 20, 2024 15:415,11633,180,57015,349,0001,023,0002,289,664
8Jul 20, 2024 15:415,13744,526,35215,410,0001,027,0002,273,280
9Jul 20, 2024 15:415,15135,155,34214,422,0002,060,0002,289,664
10Jul 20, 2024 15:415,35581,920,88817,135,42902,285,568
11Jul 20, 2024 15:415,37065,587,76117,185,15902,281,472
12Jul 20, 2024 15:415,415101,246,59617,328,26302,289,664