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 listDec 25, 2021 01:00Alexander KimAlexander KimScore: 5,761Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 01:005,69539,477,36816,199,0002,024,0002,306,048
2Dec 25, 2021 01:005,71143,686,69516,246,0002,030,0002,334,720
3Dec 25, 2021 01:005,74639,400,10615,322,0003,064,0002,334,720
4Dec 25, 2021 01:005,75244,777,70516,360,0002,045,0002,334,720
5Dec 25, 2021 01:005,75441,460,05515,344,0003,068,0002,334,720
6Dec 25, 2021 01:005,75538,124,69916,371,0002,046,0002,297,856
7Dec 25, 2021 01:005,76143,420,80617,410,0001,024,0002,310,144
8Dec 25, 2021 01:005,77996,017,41918,494,25702,273,280
9Dec 25, 2021 01:005,78186,339,23518,499,48202,269,184
10Dec 25, 2021 01:005,80751,635,77716,519,0002,064,0002,334,720
11Dec 25, 2021 01:005,81587,573,74118,607,14602,277,376
12Dec 25, 2021 01:005,82044,915,44617,528,0001,095,0002,330,624