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 listAug 6, 2024 15:34BenBenScore: 4,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 15:344,63835,828,87314,843,00002,535,424
2Aug 6, 2024 15:344,64441,064,82314,860,00002,494,464
3Aug 6, 2024 15:344,64839,003,96713,883,000991,0002,277,376
4Aug 6, 2024 15:344,65236,209,29313,893,000992,0002,494,464
5Aug 6, 2024 15:344,65341,976,05113,898,000992,0002,277,376
6Aug 6, 2024 15:344,65933,460,64213,915,000993,0002,494,464
7Aug 6, 2024 15:344,66628,509,43813,937,000995,0002,494,464
8Aug 6, 2024 15:344,67532,422,78313,964,000997,0002,498,560
9Aug 6, 2024 15:344,67928,089,01013,974,000998,0002,490,368
10Aug 6, 2024 15:344,92272,077,88715,749,11802,363,392
11Aug 6, 2024 15:344,93363,892,70815,787,12602,236,416
12Aug 6, 2024 15:345,07574,320,86716,238,54102,240,512