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 listDec 23, 2024 20:16IhebIhebScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 20:005,26943,687,92114,879,0001,983,0002,392,064
2Dec 23, 2024 20:005,27432,699,85214,893,0001,985,0002,383,872
3Dec 23, 2024 20:165,27744,123,07616,885,00002,260,992
4Dec 23, 2024 20:005,27843,047,17716,890,00002,260,992
5Dec 23, 2024 20:005,27949,414,78214,907,0001,987,0002,260,992
6Dec 23, 2024 20:005,28247,675,44715,847,0001,056,0002,387,968
7Dec 23, 2024 20:005,29839,925,04815,956,000997,0002,260,992
8Dec 23, 2024 20:005,29843,013,61315,957,000997,0002,260,992
9Dec 23, 2024 20:005,30448,707,64414,976,0001,996,0002,260,992
10Dec 23, 2024 20:165,30533,671,69914,980,0001,997,0002,387,968
11Dec 23, 2024 20:005,31444,413,85616,005,0001,000,0002,383,872
12Dec 23, 2024 20:165,31937,084,51716,019,0001,001,0002,260,992