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 19, 2022 17:33Eugene ZhydzetskiEugene ZhydzetskiScore: 6,048Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 17:336,00941,891,68218,216,0001,012,0002,334,720
2Aug 19, 2022 17:336,02441,285,33917,248,0002,029,0002,379,776
3Aug 19, 2022 17:336,02640,594,73318,269,0001,014,0002,334,720
4Aug 19, 2022 17:336,03149,968,16518,284,0001,015,0002,334,720
5Aug 19, 2022 17:336,03543,039,54218,296,0001,016,0002,334,720
6Aug 19, 2022 17:336,04645,781,75918,329,0001,018,0002,535,424
7Aug 19, 2022 17:336,04836,220,18017,318,0002,037,0002,334,720
8Aug 19, 2022 17:336,06442,431,32819,405,00002,334,720
9Aug 19, 2022 17:336,09988,620,70219,517,05702,244,608
10Aug 19, 2022 17:336,10040,535,14217,467,0002,054,0002,531,328
11Aug 19, 2022 17:336,16390,971,72019,720,92402,236,416
12Aug 19, 2022 17:336,22893,037,63419,929,50002,244,608