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 16:00Yuriy LyfenkoYuriy LyfenkoScore: 4,435Success
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 16:004,399541,790,44312,066,0002,011,0002,265,088
2Jul 25, 2024 16:004,410540,158,83112,097,0002,016,0002,265,088
3Jul 25, 2024 16:004,414542,015,32512,107,0002,017,0002,523,136
4Jul 25, 2024 16:004,429536,362,96513,161,0001,012,0002,269,184
5Jul 25, 2024 16:004,431538,159,77313,168,0001,012,0002,523,136
6Jul 25, 2024 16:004,432541,617,28413,170,0001,013,0002,265,088
7Jul 25, 2024 16:004,435538,460,70812,164,0002,027,0002,260,992
8Jul 25, 2024 16:004,438543,055,11514,203,00002,506,752
9Jul 25, 2024 16:004,452540,968,07712,212,0002,035,0002,392,064
10Jul 25, 2024 16:004,622568,392,87914,791,89702,244,608
11Jul 25, 2024 16:004,632583,945,04814,821,42102,281,472
12Jul 25, 2024 16:004,667578,229,06814,934,85002,281,472