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 listMar 7, 2024 07:58Huy Duc LeHuy Duc LeScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:584,60731,722,85513,690,0001,053,0002,387,968
2Mar 7, 2024 07:584,61042,584,66713,698,0001,053,0002,387,968
3Mar 7, 2024 07:584,61230,590,71214,759,00002,387,968
4Mar 7, 2024 07:584,64532,127,48413,873,000990,0002,383,872
5Mar 7, 2024 07:584,64539,290,15512,883,0001,982,0002,527,232
6Mar 7, 2024 07:584,64835,308,73812,892,0001,983,0002,387,968
7Mar 7, 2024 07:584,65239,248,85812,902,0001,984,0002,383,872
8Mar 7, 2024 07:584,65242,529,70412,902,0001,984,0002,265,088
9Mar 7, 2024 07:584,65333,737,89514,891,00002,265,088
10Mar 7, 2024 07:584,85581,085,77815,537,14602,273,280
11Mar 7, 2024 07:584,85883,801,11515,544,96302,289,664
12Mar 7, 2024 07:584,889102,290,08115,644,32302,281,472