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:41Yuriy LyfenkoYuriy LyfenkoScore: 4,446Success
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:414,403542,260,81412,077,0002,012,0002,265,088
2Sep 7, 2022 04:414,406541,176,05412,084,0002,014,0002,265,088
3Sep 7, 2022 04:414,414538,890,44814,125,00002,383,872
4Sep 7, 2022 04:414,415541,140,55412,111,0002,018,0002,523,136
5Sep 7, 2022 04:414,419542,206,23314,140,00002,265,088
6Sep 7, 2022 04:414,427541,229,86913,155,0001,011,0002,478,080
7Sep 7, 2022 04:414,446540,101,06513,211,0001,016,0002,260,992
8Sep 7, 2022 04:414,446540,327,50613,212,0001,016,0002,265,088
9Sep 7, 2022 04:414,485537,193,81514,353,00002,523,136
10Sep 7, 2022 04:414,594573,197,64414,701,91402,273,280
11Sep 7, 2022 04:414,601573,089,10914,722,94602,285,568
12Sep 7, 2022 04:414,612572,340,06214,757,56102,285,568