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 listDec 22, 2021 04:34Yuriy LyfenkoYuriy LyfenkoScore: 5,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:345,744544,412,79116,338,0002,042,0002,334,720
2Dec 22, 2021 04:345,758548,447,30816,378,0002,047,0002,334,720
3Dec 22, 2021 04:345,763542,599,78817,419,0001,024,0002,334,720
4Dec 22, 2021 04:345,771545,650,54015,551,0002,915,0002,334,720
5Dec 22, 2021 04:345,772547,481,19616,527,0001,944,0002,334,720
6Dec 22, 2021 04:345,799549,010,49116,495,0002,061,0002,338,816
7Dec 22, 2021 04:345,809578,277,39518,587,91302,252,800
8Dec 22, 2021 04:345,811544,012,36615,496,0003,099,0002,334,720
9Dec 22, 2021 04:345,812547,072,44217,565,0001,033,0002,334,720
10Dec 22, 2021 04:345,818594,829,45218,617,12102,252,800
11Dec 22, 2021 04:345,828545,118,74417,612,0001,036,0002,338,816
12Dec 22, 2021 04:345,851580,102,04518,723,32502,252,800