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 24, 2024 01:23emily graceemily graceScore: 4,883Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:234,85841,104,09114,508,0001,036,0002,289,664
2Jul 24, 2024 01:234,86834,231,96614,539,0001,038,0002,273,280
3Jul 24, 2024 01:234,87738,731,40814,565,0001,040,0002,273,280
4Jul 24, 2024 01:234,87931,224,06814,572,0001,040,0002,281,472
5Jul 24, 2024 01:234,88133,247,92614,579,0001,041,0002,289,664
6Jul 24, 2024 01:234,88251,131,04714,580,0001,041,0002,289,664
7Jul 24, 2024 01:234,88343,347,86614,584,0001,041,0002,289,664
8Jul 24, 2024 01:234,89631,532,27714,622,0001,044,0002,289,664
9Jul 24, 2024 01:234,95832,157,72914,875,000991,0002,273,280
10Jul 24, 2024 01:235,14056,869,57316,448,50202,285,568
11Jul 24, 2024 01:235,14186,198,25016,451,02402,293,760
12Jul 24, 2024 01:235,16189,931,12016,513,64902,306,048