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 19, 2024 10:07Matt StuchlikMatt StuchlikScore: 5,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:075,42340,852,01116,332,0001,020,0002,273,280
2Jul 19, 2024 10:075,44135,604,20216,388,0001,024,0002,285,568
3Jul 19, 2024 10:075,44246,115,25716,389,0001,024,0002,265,088
4Jul 19, 2024 10:075,44342,210,45917,416,00002,289,664
5Jul 19, 2024 10:075,44834,688,43415,383,0002,051,0002,265,088
6Jul 19, 2024 10:075,44839,647,67317,435,00002,265,088
7Jul 19, 2024 10:075,47240,868,91116,481,0001,030,0002,289,664
8Jul 19, 2024 10:075,47541,687,79216,490,0001,030,0002,289,664
9Jul 19, 2024 10:075,47645,543,05716,492,0001,030,0002,289,664
10Jul 19, 2024 10:075,65289,977,71418,085,87002,306,048
11Jul 19, 2024 10:075,68795,159,97018,198,30002,297,856
12Jul 19, 2024 10:075,69182,544,34818,210,30602,179,072