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 listMay 24, 2021 05:23Yuriy LyfenkoYuriy LyfenkoScore: 5,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:235,10036,360,07015,301,0001,020,0002,265,088
2May 24, 2021 05:235,11033,163,83715,330,0001,022,0002,392,064
3May 24, 2021 05:235,11139,185,79316,354,00002,400,256
4May 24, 2021 05:235,11338,904,09715,338,0001,022,0002,527,232
5May 24, 2021 05:235,11347,374,72516,362,00002,400,256
6May 24, 2021 05:235,11633,638,61715,349,0001,023,0002,265,088
7May 24, 2021 05:235,14730,928,55216,470,00002,265,088
8May 24, 2021 05:235,15141,910,92315,452,0001,030,0002,265,088
9May 24, 2021 05:235,15333,780,08116,488,00002,404,352
10May 24, 2021 05:235,28366,035,34716,907,06202,273,280
11May 24, 2021 05:235,31678,843,93117,012,58202,273,280
12May 24, 2021 05:235,36572,068,41617,167,54602,277,376