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 22, 2021 17:44Andrey TsvetkovAndrey TsvetkovScore: 5,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:445,64843,093,91815,060,0003,012,0002,334,720
2May 22, 2021 17:445,65942,687,00715,979,0002,130,0002,334,720
3May 22, 2021 17:445,67334,009,47816,136,0002,017,0002,334,720
4May 22, 2021 17:445,67745,369,10316,149,0002,018,0002,334,720
5May 22, 2021 17:445,67841,677,49815,141,0003,028,0002,334,720
6May 22, 2021 17:445,69242,375,85616,190,0002,023,0002,523,136
7May 22, 2021 17:445,69474,198,84918,222,03502,236,416
8May 22, 2021 17:445,70244,266,39316,218,0002,027,0002,334,720
9May 22, 2021 17:445,70543,344,04015,214,0003,042,0002,334,720
10May 22, 2021 17:445,70842,620,46715,223,0003,044,0002,347,008
11May 22, 2021 17:445,72786,938,96418,327,84202,228,224
12May 22, 2021 17:445,74972,552,24818,398,08402,228,224
13May 22, 2021 17:445,75380,841,02718,410,93602,236,416
14May 22, 2021 17:445,85176,937,88418,723,93902,232,320
15May 22, 2021 17:445,91483,155,68118,923,94202,240,512