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 listJan 23, 2024 19:22AnSaAnSaScore: 5,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:225,16635,268,85515,497,0001,033,0002,281,472
2Jan 23, 2024 19:225,17233,883,71415,517,0001,034,0002,392,064
3Jan 23, 2024 19:225,17233,948,91516,551,00002,281,472
4Jan 23, 2024 19:225,17333,972,50115,520,0001,034,0002,396,160
5Jan 23, 2024 19:225,17938,732,09116,572,00002,506,752
6Jan 23, 2024 19:225,19037,049,37916,607,00002,392,064
7Jan 23, 2024 19:225,19648,122,78915,587,0001,039,0002,396,160
8Jan 23, 2024 19:225,20947,773,71616,669,00002,281,472
9Jan 23, 2024 19:225,21243,113,21416,677,00002,281,472
10Jan 23, 2024 19:225,37785,572,86917,205,09702,281,472
11Jan 23, 2024 19:225,39661,757,29617,267,79302,285,568
12Jan 23, 2024 19:225,40688,151,33317,300,02102,289,664