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 6, 2024 23:12CountHarebourgCountHarebourgScore: 13,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 23:1313,30270,089,28515,202,00027,365,0002,273,280
2Nov 6, 2024 23:1313,43166,680,2918,995,00033,984,0002,285,568
3Nov 6, 2024 23:1213,51766,283,71915,088,00028,165,0002,498,560
4Nov 6, 2024 23:1213,69368,973,4956,971,00036,847,0002,285,568
5Nov 6, 2024 23:1313,69974,594,1807,970,00035,868,0002,269,184
6Nov 6, 2024 23:1213,71368,954,5679,973,00033,910,0002,289,664