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:40Yuriy LyfenkoYuriy LyfenkoScore: 4,433Success
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:404,397542,367,99512,060,0002,010,0002,523,136
2Sep 7, 2022 04:404,399538,508,31212,067,0002,011,0002,527,232
3Sep 7, 2022 04:394,400544,276,24413,076,0001,005,0002,260,992
4Sep 7, 2022 04:394,407542,546,71512,089,0002,014,0002,265,088
5Sep 7, 2022 04:404,407544,587,82312,089,0002,014,0002,260,992
6Sep 7, 2022 04:394,411544,292,98412,100,0002,016,0002,260,992
7Sep 7, 2022 04:404,413541,671,80212,106,0002,017,0002,523,136
8Sep 7, 2022 04:394,416539,606,30812,112,0002,018,0002,523,136
9Sep 7, 2022 04:394,418539,609,48613,127,0001,009,0002,523,136
10Sep 7, 2022 04:404,428540,352,09413,158,0001,012,0002,523,136
11Sep 7, 2022 04:394,431536,717,83414,179,00002,265,088
12Sep 7, 2022 04:394,433543,888,42813,171,0001,013,0002,523,136
13Sep 7, 2022 04:394,433540,593,79812,159,0002,026,0002,523,136
14Sep 7, 2022 04:404,439546,212,37013,190,0001,014,0002,260,992
15Sep 7, 2022 04:404,442541,771,45613,200,0001,015,0002,523,136
16Sep 7, 2022 04:404,455542,783,75512,220,0002,036,0002,523,136
17Sep 7, 2022 04:404,456540,210,59414,259,00002,265,088
18Sep 7, 2022 04:394,458535,666,81413,248,0001,019,0002,260,992
19Sep 7, 2022 04:394,596578,739,03214,706,30702,240,512
20Sep 7, 2022 04:394,597574,828,30314,710,65902,244,608
21Sep 7, 2022 04:404,603567,107,96614,728,71602,281,472
22Sep 7, 2022 04:394,612575,000,73814,758,29702,244,608
23Sep 7, 2022 04:404,615565,927,39114,766,44802,240,512
24Sep 7, 2022 04:404,620578,573,70814,784,73602,281,472