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 listDec 29, 2025 14:26HattonuriHattonuriScore: 4,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 14:284,41740,220,20812,116,0002,019,0002,273,280
2Dec 29, 2025 14:284,41931,857,66012,121,0002,020,0002,273,280
3Dec 29, 2025 14:264,43137,091,38312,155,0002,025,0002,441,216
4Dec 29, 2025 14:284,43329,665,42712,159,0002,026,0002,441,216
5Dec 29, 2025 14:264,44235,361,55512,185,0002,030,0002,535,424
6Dec 29, 2025 14:284,44631,242,22112,195,0002,032,0002,535,424
7Dec 29, 2025 14:284,44729,580,23413,213,0001,016,0002,441,216
8Dec 29, 2025 14:284,45129,730,78512,209,0002,034,0002,445,312
9Dec 29, 2025 14:264,45933,591,20112,231,0002,038,0002,535,424
10Dec 29, 2025 14:264,46635,391,21413,271,0001,020,0002,535,424
11Dec 29, 2025 14:264,46733,934,88213,274,0001,021,0002,441,216
12Dec 29, 2025 14:264,51932,146,09713,428,0001,032,0002,437,120