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 5, 2023 22:54Hal FHal FScore: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 22:545,44047,792,70216,385,0001,024,0002,273,280
2Jan 5, 2023 22:545,46234,823,30616,451,0001,028,0002,277,376
3Jan 5, 2023 22:545,46444,179,91717,484,00002,273,280
4Jan 5, 2023 22:545,46839,981,71016,469,0001,029,0002,289,664
5Jan 5, 2023 22:545,47235,727,66516,480,0001,030,0002,273,280
6Jan 5, 2023 22:545,49852,655,07616,559,0001,034,0002,289,664
7Jan 5, 2023 22:545,50349,517,97017,611,00002,289,664
8Jan 5, 2023 22:545,51751,587,54315,694,0001,961,0002,289,664
9Jan 5, 2023 22:545,52035,893,96016,626,0001,039,0002,289,664
10Jan 5, 2023 22:545,69675,418,28618,225,74802,179,072
11Jan 5, 2023 22:545,72087,386,27518,303,10202,289,664
12Jan 5, 2023 22:545,76766,198,89918,455,62502,293,760