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 10, 2024 00:37Joad NacerJoad NacerScore: 5,011Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2024 00:374,98336,873,77013,952,0001,993,0002,289,664
2May 10, 2024 00:374,98332,972,55613,953,0001,993,0002,289,664
3May 10, 2024 00:374,98445,479,90913,957,0001,993,0002,289,664
4May 10, 2024 00:374,99733,467,69013,992,0001,998,0002,289,664
5May 10, 2024 00:375,00734,623,32914,019,0002,002,0002,269,184
6May 10, 2024 00:375,00839,407,78914,021,0002,003,0002,289,664
7May 10, 2024 00:375,01150,953,14414,030,0002,004,0002,273,280
8May 10, 2024 00:375,01931,647,11514,053,0002,007,0002,289,664
9May 10, 2024 00:375,02445,695,08214,069,0002,009,0002,289,664
10May 10, 2024 00:375,12876,027,91516,408,00502,306,048
11May 10, 2024 00:375,14388,431,45416,458,95202,297,856
12May 10, 2024 00:375,15970,673,26216,509,24202,306,048