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 19, 2021 08:13Andrei GrazhdankovAndrei GrazhdankovScore: 10,636Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 08:1310,56294,902,44133,797,59502,289,664
2May 19, 2021 08:1310,57995,295,66433,854,01402,293,760
3May 19, 2021 08:1310,591114,364,65433,889,71702,293,760
4May 19, 2021 08:1210,60293,100,90033,926,95102,301,952
5May 19, 2021 08:1310,62291,987,16833,989,07402,293,760
6May 19, 2021 08:1210,63497,493,34934,029,96202,297,856
7May 19, 2021 08:1310,63691,162,07234,034,00202,289,664
8May 19, 2021 08:1210,64990,747,24834,076,55302,285,568
9May 19, 2021 08:1310,66594,543,23934,129,29402,293,760
10May 19, 2021 08:1310,67794,581,02134,167,94102,293,760
11May 19, 2021 08:1310,72591,337,42934,319,90302,297,856
12May 19, 2021 08:1310,78195,107,30534,498,72802,289,664