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 09:27BenBenScore: 6,001Success
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 09:275,95748,281,72517,056,0002,006,0002,265,088
2Jul 28, 2024 09:275,95848,969,32518,061,0001,003,0002,396,160
3Jul 28, 2024 09:275,96645,667,45518,088,0001,004,0002,523,136
4Jul 28, 2024 09:275,96847,057,93117,086,0002,010,0002,265,088
5Jul 28, 2024 09:275,96945,515,66017,090,0002,010,0002,510,848
6Jul 28, 2024 09:275,98742,495,61717,141,0002,016,0002,265,088
7Jul 28, 2024 09:276,00145,413,10617,182,0002,021,0002,265,088
8Jul 28, 2024 09:276,02451,046,24018,263,0001,014,0002,383,872
9Jul 28, 2024 09:276,02844,861,66417,258,0002,030,0002,392,064
10Jul 28, 2024 09:276,21888,598,32619,896,33102,277,376
11Jul 28, 2024 09:276,24287,049,96919,973,52002,240,512
12Jul 28, 2024 09:276,24684,810,77719,988,51402,297,856