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 31, 2022 17:57Hal FHal FScore: 5,578Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 17:575,46243,650,63716,449,0001,028,0002,289,664
2Dec 31, 2022 17:575,49340,705,44917,579,00002,289,664
3Dec 31, 2022 17:575,50954,759,18417,629,00002,265,088
4Dec 31, 2022 17:575,51641,104,70017,650,00002,273,280
5Dec 31, 2022 17:575,57145,739,13116,838,000990,0002,523,136
6Dec 31, 2022 17:575,57735,109,89615,864,0001,983,0002,531,328
7Dec 31, 2022 17:575,57843,639,32016,860,000991,0002,289,664
8Dec 31, 2022 17:575,57939,786,69215,870,0001,983,0002,289,664
9Dec 31, 2022 17:575,59044,217,76015,900,0001,987,0002,273,280
10Dec 31, 2022 17:575,71578,748,69218,288,17302,289,664
11Dec 31, 2022 17:575,75577,154,56518,414,89502,289,664
12Dec 31, 2022 17:575,77997,561,16718,494,14102,297,856