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 5, 2021 16:37evgenikwtevgenikwtScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 16:375,27336,806,55115,883,000992,0002,265,088
2Jun 5, 2021 16:375,27448,267,52716,876,00002,265,088
3Jun 5, 2021 16:375,27446,084,81615,885,000992,0002,383,872
4Jun 5, 2021 16:375,27735,839,63114,900,0001,986,0002,392,064
5Jun 5, 2021 16:375,27842,707,14714,903,0001,987,0002,265,088
6Jun 5, 2021 16:375,28141,119,26114,910,0001,988,0002,527,232
7Jun 5, 2021 16:375,28249,091,89615,907,000994,0002,387,968
8Jun 5, 2021 16:375,28543,283,27315,919,000994,0002,396,160
9Jun 5, 2021 16:375,28643,794,52314,925,0001,990,0002,383,872
10Jun 5, 2021 16:375,47389,971,28617,512,97202,281,472
11Jun 5, 2021 16:375,49194,028,70817,571,38302,273,280
12Jun 5, 2021 16:375,49287,894,27417,575,89102,277,376