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 listJan 2, 2023 22:00Jack FrigaardJack FrigaardScore: 4,826Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:004,78133,974,93813,259,0002,039,0002,527,232
2Jan 2, 2023 22:004,80037,860,07913,313,0002,048,0002,285,568
3Jan 2, 2023 22:004,80532,577,03913,327,0002,050,0002,527,232
4Jan 2, 2023 22:004,81431,458,66714,379,0001,027,0002,285,568
5Jan 2, 2023 22:004,81634,654,51414,383,0001,027,0002,285,568
6Jan 2, 2023 22:004,81735,228,54914,386,0001,027,0002,285,568
7Jan 2, 2023 22:004,82634,203,62814,414,0001,029,0002,285,568
8Jan 2, 2023 22:004,82833,558,63814,419,0001,029,0002,285,568
9Jan 2, 2023 22:004,83532,483,60513,409,0002,062,0002,285,568
10Jan 2, 2023 22:005,05186,439,68116,163,62202,306,048
11Jan 2, 2023 22:005,06285,390,15116,199,77902,297,856
12Jan 2, 2023 22:005,08060,791,28516,255,07702,297,856