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 16:51Jack FrigaardJack FrigaardScore: 5,341Success
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 16:515,28732,978,30014,927,0001,990,0002,285,568
2Jan 2, 2023 16:515,29842,854,77414,959,0001,994,0002,269,184
3Jan 2, 2023 16:515,31545,561,65115,007,0002,001,0002,269,184
4Jan 2, 2023 16:515,31943,273,99115,018,0002,002,0002,285,568
5Jan 2, 2023 16:515,32736,744,63015,041,0002,005,0002,277,376
6Jan 2, 2023 16:515,33834,476,21515,072,0002,009,0002,285,568
7Jan 2, 2023 16:515,34146,474,76816,086,0001,005,0002,285,568
8Jan 2, 2023 16:515,34337,933,37515,085,0002,011,0002,355,200
9Jan 2, 2023 16:515,35039,636,53116,112,0001,007,0002,363,392
10Jan 2, 2023 16:515,52893,635,04617,690,53402,293,760
11Jan 2, 2023 16:515,54893,857,02317,754,57802,297,856
12Jan 2, 2023 16:515,55685,024,82517,777,75002,293,760