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 25, 2024 15:56Yuriy LyfenkoYuriy LyfenkoScore: 4,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:564,513537,744,73513,409,0001,031,0002,523,136
2Jul 25, 2024 15:564,513535,577,65813,410,0001,031,0002,527,232
3Jul 25, 2024 15:564,516537,217,84613,418,0001,032,0002,523,136
4Jul 25, 2024 15:564,521540,641,92413,435,0001,033,0002,265,088
5Jul 25, 2024 15:564,521537,230,41514,468,00002,265,088
6Jul 25, 2024 15:564,527540,817,16213,453,0001,034,0002,265,088
7Jul 25, 2024 15:564,536537,194,48213,478,0001,036,0002,527,232
8Jul 25, 2024 15:564,549546,149,81713,519,0001,039,0002,392,064
9Jul 25, 2024 15:564,556541,413,21613,538,0001,041,0002,523,136
10Jul 25, 2024 15:564,732584,507,06115,141,34902,240,512
11Jul 25, 2024 15:564,737573,689,76615,159,49602,281,472
12Jul 25, 2024 15:564,785587,984,90615,312,36202,281,472