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 22:16IhebIhebScore: 4,477Success
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 22:164,45731,588,02812,225,0002,037,0002,260,992
2Dec 23, 2024 22:164,45931,783,90412,232,0002,038,0002,387,968
3Dec 23, 2024 22:164,47630,937,87314,323,00002,260,992
4Dec 23, 2024 22:164,47639,107,71713,300,0001,023,0002,387,968
5Dec 23, 2024 22:164,47731,406,47313,303,0001,023,0002,383,872
6Dec 23, 2024 22:164,48832,480,19614,361,00002,260,992
7Dec 23, 2024 22:164,48933,330,92614,366,00002,260,992
8Dec 23, 2024 22:164,49330,915,03114,376,00002,392,064
9Dec 23, 2024 22:164,52233,033,95614,469,00002,260,992