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 listJan 22, 2024 11:27matsuoka-601matsuoka-601Score: 5,491Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:275,44840,351,50216,409,0001,025,0002,277,376
2Jan 22, 2024 11:275,46543,709,18016,461,0001,028,0002,293,760
3Jan 22, 2024 11:275,46937,182,48516,471,0001,029,0002,293,760
4Jan 22, 2024 11:275,47138,007,92616,478,0001,029,0002,527,232
5Jan 22, 2024 11:275,47234,215,33817,509,00002,371,584
6Jan 22, 2024 11:275,48038,851,49317,537,00002,293,760
7Jan 22, 2024 11:275,49138,629,93516,539,0001,033,0002,293,760
8Jan 22, 2024 11:275,49643,968,27316,554,0001,034,0002,281,472
9Jan 22, 2024 11:275,52846,873,73617,690,00002,293,760
10Jan 22, 2024 11:275,61796,664,03717,973,27302,301,952
11Jan 22, 2024 11:275,629103,369,57518,013,41502,174,976
12Jan 22, 2024 11:275,63263,916,53018,020,90502,306,048