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 21, 2024 11:05Matt StuchlikMatt StuchlikScore: 4,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:054,76335,972,65813,211,0002,032,0002,289,664
2Jul 21, 2024 11:054,76832,683,33313,223,0002,034,0002,273,280
3Jul 21, 2024 11:054,77332,260,96413,239,0002,036,0002,289,664
4Jul 21, 2024 11:054,78034,695,49013,256,0002,039,0002,289,664
5Jul 21, 2024 11:054,79138,327,46613,287,0002,044,0002,289,664
6Jul 21, 2024 11:054,80735,449,47013,331,0002,050,0002,289,664
7Jul 21, 2024 11:054,81837,823,36415,419,00002,281,472
8Jul 21, 2024 11:054,82333,251,27914,405,0001,028,0002,277,376
9Jul 21, 2024 11:054,86739,283,36114,537,0001,038,0002,289,664
10Jul 21, 2024 11:055,05281,894,78716,167,07602,281,472
11Jul 21, 2024 11:055,07164,368,49916,228,15602,285,568
12Jul 21, 2024 11:055,10194,652,56416,323,28302,285,568