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 17, 2024 09:52Matt StuchlikMatt StuchlikScore: 5,833Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 09:525,78135,172,71217,471,0001,027,0002,289,664
2Jul 17, 2024 09:525,82044,602,81917,591,0001,034,0002,289,664
3Jul 17, 2024 09:525,82447,065,94818,636,00002,289,664
4Jul 17, 2024 09:525,82446,347,29917,602,0001,035,0002,289,664
5Jul 17, 2024 09:525,82944,955,75718,653,00002,519,040
6Jul 17, 2024 09:525,83044,993,46717,620,0001,036,0002,289,664
7Jul 17, 2024 09:525,83352,273,19117,630,0001,037,0002,289,664
8Jul 17, 2024 09:525,83442,942,51217,631,0001,037,0002,269,184
9Jul 17, 2024 09:525,83447,252,83417,632,0001,037,0002,289,664
10Jul 17, 2024 09:526,19464,368,96719,819,96302,301,952
11Jul 17, 2024 09:526,206100,598,87819,859,33002,297,856
12Jul 17, 2024 09:526,25084,427,26620,001,08402,301,952