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:17Eugene ZhydzetskiEugene ZhydzetskiScore: 5,994Success
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:175,92989,345,31618,974,28002,252,800
2Aug 19, 2022 17:175,93848,067,93817,001,0002,000,0002,334,720
3Aug 19, 2022 17:175,94645,207,55917,025,0002,003,0002,334,720
4Aug 19, 2022 17:175,95246,762,24417,041,0002,004,0002,531,328
5Aug 19, 2022 17:175,96445,445,28718,081,0001,004,0002,400,256
6Aug 19, 2022 17:175,97948,318,08318,127,0001,007,0002,334,720
7Aug 19, 2022 17:175,99433,962,16818,173,0001,009,0002,531,328
8Aug 19, 2022 17:176,00447,180,16718,201,0001,011,0002,334,720
9Aug 19, 2022 17:176,00738,618,38918,212,0001,011,0002,531,328
10Aug 19, 2022 17:176,013101,753,23319,242,36602,248,704
11Aug 19, 2022 17:176,03041,591,50217,266,0002,031,0002,334,720
12Aug 19, 2022 17:176,13381,716,60319,626,26902,240,512