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 listJul 28, 2024 15:37Liam BuchananLiam BuchananScore: 5,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 15:375,73441,057,11418,348,00002,424,832
2Jul 28, 2024 15:375,73442,138,84618,349,00002,428,928
3Jul 28, 2024 15:375,73640,541,52018,355,00002,416,640
4Jul 28, 2024 15:375,75040,404,16317,377,0001,022,0002,428,928
5Jul 28, 2024 15:375,75036,877,52218,401,00002,420,736
6Jul 28, 2024 15:375,75939,342,80418,430,00002,273,280
7Jul 28, 2024 15:375,76339,822,71818,442,00002,437,120
8Jul 28, 2024 15:375,77238,214,74817,443,0001,026,0002,428,928
9Jul 28, 2024 15:375,78933,166,04317,496,0001,029,0002,535,424
10Jul 28, 2024 15:375,88479,164,72718,827,33402,187,264
11Jul 28, 2024 15:375,90391,228,19918,888,32902,318,336
12Jul 28, 2024 15:375,91498,134,47618,925,71102,174,976