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 listMar 11, 2025 20:43Drew GarciaDrew GarciaScore: 5,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2025 20:425,11232,156,28814,314,0002,044,0002,269,184
2Mar 11, 2025 20:425,11331,026,51215,341,0001,022,0002,269,184
3Mar 11, 2025 20:425,12036,949,14716,384,00002,269,184
4Mar 11, 2025 20:425,12237,222,95115,365,0001,024,0002,269,184
5Mar 11, 2025 20:425,12235,808,33715,366,0001,024,0002,269,184
6Mar 11, 2025 20:425,12546,013,91215,375,0001,025,0002,392,064
7Mar 11, 2025 20:425,13638,136,44715,409,0001,027,0002,400,256
8Mar 11, 2025 20:425,15536,276,16116,496,00002,269,184
9Mar 11, 2025 20:425,15733,208,37615,470,0001,031,0002,269,184
10Mar 11, 2025 20:435,22137,534,95116,706,00002,269,184
11Mar 11, 2025 20:435,26042,384,28515,842,000990,0002,269,184
12Mar 11, 2025 20:435,27243,958,50215,879,000992,0002,269,184