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 15, 2024 09:03CalCalScore: 5,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 09:035,48340,677,10016,514,0001,032,0002,281,472
2Jan 15, 2024 09:035,48542,929,62717,553,00002,281,472
3Jan 15, 2024 09:035,48840,261,68316,530,0001,033,0002,396,160
4Jan 15, 2024 09:035,49242,133,88716,542,0001,033,0002,281,472
5Jan 15, 2024 09:035,49639,826,74316,552,0001,034,0002,396,160
6Jan 15, 2024 09:035,50648,471,94617,619,00002,404,352
7Jan 15, 2024 09:035,51643,938,83116,613,0001,038,0002,396,160
8Jan 15, 2024 09:035,52446,655,53317,678,00002,510,848
9Jan 15, 2024 09:035,52649,120,21817,683,00002,396,160
10Jan 15, 2024 09:035,65886,996,52018,107,18502,301,952
11Jan 15, 2024 09:035,67082,550,17218,144,25202,297,856
12Jan 15, 2024 09:035,69790,100,33518,229,34802,285,568