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 7, 2022 02:14Yuriy LyfenkoYuriy LyfenkoScore: 4,449Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:144,407543,269,48713,096,0001,007,0002,523,136
2Sep 7, 2022 02:144,425544,227,46914,160,00002,523,136
3Sep 7, 2022 02:144,430535,951,01413,164,0001,012,0002,523,136
4Sep 7, 2022 02:144,433538,342,22912,160,0002,026,0002,527,232
5Sep 7, 2022 02:144,435537,403,34512,164,0002,027,0002,265,088
6Sep 7, 2022 02:144,438537,175,91314,200,00002,265,088
7Sep 7, 2022 02:144,446544,867,97914,228,00002,265,088
8Sep 7, 2022 02:144,449538,635,53913,221,0001,017,0002,527,232
9Sep 7, 2022 02:144,451537,212,60213,226,0001,017,0002,265,088
10Sep 7, 2022 02:144,593590,077,34114,698,22102,273,280
11Sep 7, 2022 02:184,597571,404,45314,710,01102,240,512
12Sep 7, 2022 02:184,601579,284,69214,722,78702,285,568
13Sep 7, 2022 02:184,603571,079,50614,728,96402,277,376
14Sep 7, 2022 02:144,604581,522,83414,731,70302,244,608
15Sep 7, 2022 02:144,610572,284,28714,751,84102,244,608