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 listJun 28, 2021 22:24Egor SergeevEgor SergeevScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 22:245,08639,258,23114,361,0001,914,0002,277,376
2Jun 28, 2021 22:245,10237,091,01516,327,00002,502,656
3Jun 28, 2021 22:245,10433,956,22216,333,00002,498,560
4Jun 28, 2021 22:245,11626,391,25016,370,00002,498,560
5Jun 28, 2021 22:245,11842,515,77416,377,00002,494,464
6Jun 28, 2021 22:245,12028,544,94516,383,00002,498,560
7Jun 28, 2021 22:245,12743,578,09716,405,00002,277,376
8Jun 28, 2021 22:245,12731,999,64416,407,00002,535,424
9Jun 28, 2021 22:245,13141,280,72216,420,00002,494,464
10Jun 28, 2021 22:245,35574,680,40817,137,21402,248,704
11Jun 28, 2021 22:245,36491,045,23117,165,17902,240,512
12Jun 28, 2021 22:245,39185,270,63917,249,67602,240,512