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 20, 2022 13:25Eugene ZhydzetskiEugene ZhydzetskiScore: 5,887Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:255,83544,382,59317,635,0001,037,0002,531,328
2Aug 20, 2022 13:255,84544,655,23017,665,0001,039,0002,334,720
3Aug 20, 2022 13:255,84738,660,73918,710,00002,334,720
4Aug 20, 2022 13:255,84951,360,70118,716,00002,334,720
5Aug 20, 2022 13:255,84943,790,82217,677,0001,039,0002,531,328
6Aug 20, 2022 13:255,88196,567,02918,819,85302,240,512
7Aug 20, 2022 13:255,88744,260,36215,863,0002,974,0002,531,328
8Aug 20, 2022 13:255,89545,278,66916,879,0001,985,0002,334,720
9Aug 20, 2022 13:255,90145,732,17017,890,000993,0002,535,424
10Aug 20, 2022 13:255,91477,594,95818,925,98502,248,704
11Aug 20, 2022 13:255,91636,354,93116,938,0001,992,0002,334,720
12Aug 20, 2022 13:255,94592,703,51519,024,39702,244,608