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 25, 2021 01:45Alexander KimAlexander KimScore: 5,846Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 01:455,81040,405,36918,593,00002,334,720
2Dec 25, 2021 01:455,82337,116,94917,597,0001,035,0002,301,952
3Dec 25, 2021 01:455,82842,978,94818,649,00002,301,952
4Dec 25, 2021 01:455,82943,090,01617,616,0001,036,0002,334,720
5Dec 25, 2021 01:455,83537,132,91818,671,00002,334,720
6Dec 25, 2021 01:455,83545,885,64217,635,0001,037,0002,306,048
7Dec 25, 2021 01:455,84643,496,96218,706,00002,334,720
8Dec 25, 2021 01:455,86382,214,91018,762,14502,273,280
9Dec 25, 2021 01:455,87983,210,53618,812,10302,260,992
10Dec 25, 2021 01:455,88495,063,71618,828,97202,281,472
11Dec 25, 2021 01:455,89447,234,71015,882,0002,978,0002,297,856
12Dec 25, 2021 01:455,89848,210,76116,886,0001,986,0002,289,664