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 1, 2023 21:50Jack FrigaardJack FrigaardScore: 5,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:505,58243,147,38916,871,000992,0002,285,568
2Jan 1, 2023 21:505,59439,076,52815,913,0001,989,0002,527,232
3Jan 1, 2023 21:505,63436,332,02717,029,0001,001,0002,277,376
4Jan 1, 2023 21:505,63940,947,27516,040,0002,005,0002,269,184
5Jan 1, 2023 21:505,65041,269,03217,076,0001,004,0002,527,232
6Jan 1, 2023 21:505,67232,714,45116,134,0002,016,0002,285,568
7Jan 1, 2023 21:505,67945,567,22917,164,0001,009,0002,285,568
8Jan 1, 2023 21:505,68934,509,97816,182,0002,022,0002,285,568
9Jan 1, 2023 21:505,69940,418,38316,212,0002,026,0002,273,280
10Jan 1, 2023 21:505,91284,256,05118,917,05602,301,952
11Jan 1, 2023 21:505,95682,591,23019,059,87902,297,856
12Jan 1, 2023 21:506,12278,895,88519,591,37402,293,760