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 26, 2024 20:25Yuriy LyfenkoYuriy LyfenkoScore: 4,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:254,398545,565,84613,068,0001,005,0002,269,184
2Jul 26, 2024 20:254,427538,421,50714,167,00002,527,232
3Jul 26, 2024 20:254,428544,870,30713,157,0001,012,0002,265,088
4Jul 26, 2024 20:254,430542,047,66113,165,0001,012,0002,527,232
5Jul 26, 2024 20:254,432535,052,22912,156,0002,026,0002,269,184
6Jul 26, 2024 20:254,440539,705,62912,179,0002,029,0002,527,232
7Jul 26, 2024 20:254,442543,532,98213,199,0001,015,0002,269,184
8Jul 26, 2024 20:254,445541,542,87712,192,0002,032,0002,265,088
9Jul 26, 2024 20:254,455536,662,48312,219,0002,036,0002,387,968
10Jul 26, 2024 20:254,611578,297,56914,755,83802,285,568
11Jul 26, 2024 20:254,630583,035,91014,814,70602,281,472
12Jul 26, 2024 20:254,667581,320,31114,933,35402,248,704