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 listSep 20, 2022 03:14Kenneth MaplesKenneth MaplesScore: 5,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2022 03:145,09339,157,76814,259,0002,037,0002,392,064
2Sep 20, 2022 03:145,09430,231,69214,264,0002,037,0002,400,256
3Sep 20, 2022 03:145,09848,128,25115,293,0001,019,0002,506,752
4Sep 20, 2022 03:145,11042,625,16016,351,00002,506,752
5Sep 20, 2022 03:145,13848,224,96315,414,0001,027,0002,396,160
6Sep 20, 2022 03:145,14644,464,50316,468,00002,392,064
7Sep 20, 2022 03:145,14938,174,89815,449,0001,029,0002,510,848
8Sep 20, 2022 03:145,22248,764,58116,710,00002,404,352
9Sep 20, 2022 03:145,30435,672,62715,975,000998,0002,387,968
10Sep 20, 2022 03:145,32088,869,30017,022,70302,265,088
11Sep 20, 2022 03:145,33959,312,16417,083,99002,265,088
12Sep 20, 2022 03:145,34367,623,06817,098,92502,273,280