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 listNov 27, 2024 18:41Hayden DonnellyHayden DonnellyScore: 10,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 18:4110,19163,892,4094,076,00028,535,0002,293,760
2Nov 27, 2024 18:4110,26163,038,0138,955,00023,881,0002,486,272
3Nov 27, 2024 18:4110,31157,268,61010,998,00021,996,0002,396,160
4Nov 27, 2024 18:4110,32261,663,6696,005,00027,026,0002,293,760
5Nov 27, 2024 18:4110,35356,910,1905,019,00028,109,0002,498,560
6Nov 27, 2024 18:4110,35357,381,1753,011,00030,118,0002,404,352
7Nov 27, 2024 18:4110,42659,016,2795,055,00028,308,0002,383,872
8Nov 27, 2024 18:4110,57460,623,5645,971,00027,866,0002,383,872
9Nov 27, 2024 18:4110,58764,003,1729,964,00023,914,0002,293,760