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 21:38IhebIhebScore: 4,533Success
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 21:384,52133,021,09913,434,0001,033,0002,392,064
2Dec 23, 2024 21:384,52229,819,16613,436,0001,033,0002,392,064
3Dec 23, 2024 21:384,52734,861,89713,451,0001,034,0002,387,968
4Dec 23, 2024 21:384,53039,820,38414,496,00002,506,752
5Dec 23, 2024 21:384,53334,877,02313,470,0001,036,0002,260,992
6Dec 23, 2024 21:384,53331,424,18713,471,0001,036,0002,383,872
7Dec 23, 2024 21:384,53332,076,41013,471,0001,036,0002,260,992
8Dec 23, 2024 21:384,53428,552,42814,510,00002,260,992
9Dec 23, 2024 21:384,55130,880,63014,562,00002,392,064