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 23, 2022 01:02Robert BurkeRobert BurkeScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 01:024,57940,704,23513,608,0001,046,0002,449,408
2Jul 23, 2022 01:024,64240,892,67613,864,000990,0002,281,472
3Jul 23, 2022 01:024,64637,193,08913,877,000991,0002,453,504
4Jul 23, 2022 01:024,64830,911,26913,882,000991,0002,281,472
5Jul 23, 2022 01:024,64831,968,44912,892,0001,983,0002,281,472
6Jul 23, 2022 01:024,64945,579,24113,885,000991,0002,281,472
7Jul 23, 2022 01:024,64926,985,03312,895,0001,983,0002,277,376
8Jul 23, 2022 01:024,65041,558,51912,897,0001,984,0002,445,312
9Jul 23, 2022 01:024,65328,858,72312,903,0001,985,0002,449,408
10Jul 23, 2022 01:024,80982,337,90115,389,13602,207,744
11Jul 23, 2022 01:024,82180,664,49915,426,75602,211,840
12Jul 23, 2022 01:024,84167,009,69215,492,54702,203,648