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 listMay 19, 2021 19:42Yuriy LyfenkoYuriy LyfenkoScore: 6,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 19:426,2651,445,880,66920,048,65902,289,664
2May 19, 2021 19:426,2731,533,533,73420,074,91102,285,568
3May 19, 2021 19:426,2761,603,794,12920,084,05102,289,664
4May 19, 2021 19:426,285805,650,34520,111,69202,289,664
5May 19, 2021 19:426,2872,748,910,47320,117,32102,285,568
6May 19, 2021 19:426,2881,733,615,63520,122,71102,310,144
7May 19, 2021 19:426,2931,187,924,77820,137,10202,285,568
8May 19, 2021 19:426,2972,847,601,44720,150,03102,285,568
9May 19, 2021 19:426,3061,138,941,60820,178,51202,289,664
10May 19, 2021 19:426,330439,635,61220,257,17602,285,568
11May 19, 2021 19:426,3401,768,064,16620,287,10102,199,552
12May 19, 2021 19:426,3482,861,552,28020,314,31202,187,264