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 listFeb 27, 2024 20:46Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 20:465,43938,158,81217,406,00002,281,472
2Feb 27, 2024 20:465,44249,621,39117,413,00002,281,472
3Feb 27, 2024 20:465,44442,799,27916,397,0001,024,0002,404,352
4Feb 27, 2024 20:465,44742,689,16916,404,0001,025,0002,281,472
5Feb 27, 2024 20:465,45243,708,27416,419,0001,026,0002,281,472
6Feb 27, 2024 20:465,45639,635,68316,432,0001,027,0002,281,472
7Feb 27, 2024 20:465,46543,061,35816,460,0001,028,0002,519,040
8Feb 27, 2024 20:465,47334,403,82016,484,0001,030,0002,404,352
9Feb 27, 2024 20:465,47741,177,26117,525,00002,281,472
10Feb 27, 2024 20:465,50686,207,32717,618,87002,297,856
11Feb 27, 2024 20:465,644101,028,09218,059,47402,293,760
12Feb 27, 2024 20:465,66188,882,11918,114,32702,293,760