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 19, 2022 09:35Kenneth MaplesKenneth MaplesScore: 5,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:355,48238,410,57217,541,00002,392,064
2Sep 19, 2022 09:355,48336,162,78814,450,0003,096,0002,392,064
3Sep 19, 2022 09:355,48843,623,42217,561,00002,396,160
4Sep 19, 2022 09:355,49643,570,29617,586,00002,519,040
5Sep 19, 2022 09:355,49735,731,76616,557,0001,034,0002,387,968
6Sep 19, 2022 09:355,50844,256,52117,627,00002,519,040
7Sep 19, 2022 09:355,51234,213,21216,600,0001,037,0002,392,064
8Sep 19, 2022 09:355,51942,141,15616,623,0001,038,0002,506,752
9Sep 19, 2022 09:355,56948,687,27215,840,0001,980,0002,379,776
10Sep 19, 2022 09:355,76680,363,66318,451,20902,289,664
11Sep 19, 2022 09:355,79684,113,68018,547,34402,273,280
12Sep 19, 2022 09:355,80664,569,00118,577,77902,281,472