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 20, 2024 10:52Matt StuchlikMatt StuchlikScore: 4,842Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 10:524,78438,646,97314,290,0001,020,0002,273,280
2Jul 20, 2024 10:524,81333,379,35814,377,0001,026,0002,269,184
3Jul 20, 2024 10:524,82333,691,61214,405,0001,028,0002,289,664
4Jul 20, 2024 10:524,83237,975,49214,432,0001,030,0002,289,664
5Jul 20, 2024 10:524,83630,599,67014,443,0001,031,0002,289,664
6Jul 20, 2024 10:524,83835,451,85715,481,00002,289,664
7Jul 20, 2024 10:524,84232,096,23615,493,00002,289,664
8Jul 20, 2024 10:524,84633,493,06714,474,0001,033,0002,519,040
9Jul 20, 2024 10:524,85733,314,62514,507,0001,036,0002,273,280
10Jul 20, 2024 10:525,14780,245,32916,470,81302,285,568
11Jul 20, 2024 10:525,15373,404,31516,488,37302,277,376
12Jul 20, 2024 10:525,16586,052,40816,528,03902,252,800