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 13:02BenBenScore: 4,644Success
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 13:024,59339,309,42714,696,00002,265,088
2Jul 28, 2024 13:024,60032,916,76514,719,00002,387,968
3Jul 28, 2024 13:024,60533,027,57813,684,0001,052,0002,265,088
4Jul 28, 2024 13:024,63731,530,64912,860,0001,978,0002,392,064
5Jul 28, 2024 13:024,64434,251,62314,860,00002,265,088
6Jul 28, 2024 13:024,64430,278,33913,870,000990,0002,387,968
7Jul 28, 2024 13:024,64438,081,98513,871,000990,0002,392,064
8Jul 28, 2024 13:024,64734,204,45113,879,000991,0002,265,088
9Jul 28, 2024 13:024,64832,167,19113,881,000991,0002,383,872
10Jul 28, 2024 13:024,84884,320,50815,513,02002,277,376
11Jul 28, 2024 13:024,85090,241,01315,519,35502,285,568
12Jul 28, 2024 13:024,85199,722,77115,522,42802,277,376