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 listMar 15, 2023 23:50Alexander MonakovAlexander MonakovScore: 5,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 23:505,16836,114,48116,537,00002,400,256
2Mar 15, 2023 23:505,17038,041,77315,510,0001,034,0002,392,064
3Mar 15, 2023 23:505,18440,853,45815,552,0001,036,0002,281,472
4Mar 15, 2023 23:505,20846,351,81415,625,0001,041,0002,281,472
5Mar 15, 2023 23:505,21249,215,78716,678,00002,408,448
6Mar 15, 2023 23:505,21348,670,76815,641,0001,042,0002,281,472
7Mar 15, 2023 23:505,22239,498,60615,665,0001,044,0002,404,352
8Mar 15, 2023 23:505,22946,279,41015,689,0001,045,0002,408,448
9Mar 15, 2023 23:505,26941,301,05816,861,00002,281,472
10Mar 15, 2023 23:505,38562,075,20317,232,32602,301,952
11Mar 15, 2023 23:505,38988,629,53017,246,17602,281,472
12Mar 15, 2023 23:505,41575,709,10917,327,14802,297,856