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 listJul 6, 2021 01:08Yuriy LyfenkoYuriy LyfenkoScore: 5,128Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 01:085,08941,482,08915,267,0001,017,0002,387,968
2Jul 6, 2021 01:085,10237,705,70816,327,00002,383,872
3Jul 6, 2021 01:085,10732,410,05015,322,0001,021,0002,265,088
4Jul 6, 2021 01:085,11136,374,15616,356,00002,527,232
5Jul 6, 2021 01:085,12447,991,51615,374,0001,024,0002,265,088
6Jul 6, 2021 01:085,12541,975,32415,376,0001,025,0002,392,064
7Jul 6, 2021 01:085,12837,667,09414,358,0002,051,0002,265,088
8Jul 6, 2021 01:085,13843,146,85216,443,00002,392,064
9Jul 6, 2021 01:085,15844,590,45016,507,00002,260,992
10Jul 6, 2021 01:085,29675,167,43216,948,69202,281,472
11Jul 6, 2021 01:085,30193,922,66316,964,35902,273,280
12Jul 6, 2021 01:085,32584,756,40017,040,39802,273,280