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 04:43Yuriy LyfenkoYuriy LyfenkoScore: 4,432Success
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 04:434,407539,313,41412,088,0002,014,0002,523,136
2Sep 7, 2022 04:424,409539,053,86512,094,0002,015,0002,265,088
3Sep 7, 2022 04:424,415538,330,19812,111,0002,018,0002,396,160
4Sep 7, 2022 04:434,416539,294,37312,112,0002,018,0002,265,088
5Sep 7, 2022 04:424,417541,191,09712,115,0002,019,0002,265,088
6Sep 7, 2022 04:434,417543,574,79812,114,0002,019,0002,265,088
7Sep 7, 2022 04:424,423545,052,92212,133,0002,022,0002,523,136
8Sep 7, 2022 04:434,424539,965,42012,136,0002,022,0002,265,088
9Sep 7, 2022 04:424,424535,779,59513,145,0001,011,0002,260,992
10Sep 7, 2022 04:434,430540,474,12013,165,0001,012,0002,260,992
11Sep 7, 2022 04:424,430537,878,70812,150,0002,025,0002,400,256
12Sep 7, 2022 04:424,430540,820,57012,150,0002,025,0002,260,992
13Sep 7, 2022 04:434,432541,777,80813,169,0001,013,0002,523,136
14Sep 7, 2022 04:434,433542,908,66613,171,0001,013,0002,392,064
15Sep 7, 2022 04:424,442539,553,29513,199,0001,015,0002,260,992
16Sep 7, 2022 04:434,521538,810,19313,435,0001,033,0002,260,992
17Sep 7, 2022 04:434,541537,879,06713,494,0001,038,0002,523,136
18Sep 7, 2022 04:424,547539,008,24413,510,0001,039,0002,527,232
19Sep 7, 2022 04:424,595574,409,34014,702,68502,273,280
20Sep 7, 2022 04:434,596568,325,25214,707,80502,277,376
21Sep 7, 2022 04:434,598572,822,46614,712,19502,240,512
22Sep 7, 2022 04:434,606576,254,62114,740,43002,285,568
23Sep 7, 2022 04:424,607576,595,70814,743,80402,273,280
24Sep 7, 2022 04:424,637633,429,74114,839,39702,281,472