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, 2023 22:49gchebanovgchebanovScore: 5,986Success
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, 2023 22:495,94749,144,48717,027,0002,003,0002,265,088
2Jul 20, 2023 22:495,95049,238,61717,035,0002,004,0002,265,088
3Jul 20, 2023 22:495,95451,785,11717,047,0002,005,0002,383,872
4Jul 20, 2023 22:495,95444,332,00917,049,0002,005,0002,265,088
5Jul 20, 2023 22:495,95744,235,69218,060,0001,003,0002,502,656
6Jul 20, 2023 22:495,97936,296,77017,119,0002,014,0002,265,088
7Jul 20, 2023 22:495,98645,092,17818,146,0001,008,0002,527,232
8Jul 20, 2023 22:495,98743,377,50018,149,0001,008,0002,506,752
9Jul 20, 2023 22:496,01851,656,33818,244,0001,013,0002,392,064
10Jul 20, 2023 22:496,17998,521,72019,772,54402,281,472
11Jul 20, 2023 22:496,20277,101,23719,846,22502,277,376
12Jul 20, 2023 22:496,23193,959,03819,938,56002,273,280