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 listOct 5, 2026 12:06FrederickFrederickScore: 4,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 12:064,2603,022,736,04812,617,0001,015,0002,117,632
2Oct 5, 2026 12:064,2633,023,987,40512,618,0001,025,0002,117,632
3Oct 5, 2026 12:064,2653,023,625,06112,637,0001,011,0002,117,632
4Oct 5, 2026 12:064,2703,022,767,61812,660,0001,005,0002,117,632
5Oct 5, 2026 12:064,2713,022,574,20912,648,0001,021,0002,117,632
6Oct 5, 2026 12:064,2753,022,706,39712,654,0001,028,0002,117,632
7Oct 5, 2026 12:064,2803,022,684,67212,665,0001,033,0002,117,632
8Oct 5, 2026 12:064,2823,022,724,13412,697,0001,007,0002,117,632
9Oct 5, 2026 12:064,2863,022,735,71712,705,0001,012,0002,117,632