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 3, 2023 20:59Hal FHal FScore: 4,760Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:594,72240,127,82313,097,0002,014,0002,281,472
2Jan 3, 2023 20:594,74231,433,34513,152,0002,023,0002,269,184
3Jan 3, 2023 20:594,74435,632,87113,157,0002,024,0002,289,664
4Jan 3, 2023 20:594,74836,200,25413,168,0002,025,0002,289,664
5Jan 3, 2023 20:594,74836,835,65013,169,0002,026,0002,269,184
6Jan 3, 2023 20:594,75135,080,62514,189,0001,013,0002,289,664
7Jan 3, 2023 20:594,76031,828,35914,218,0001,015,0002,289,664
8Jan 3, 2023 20:594,78636,721,77613,273,0002,042,0002,277,376
9Jan 3, 2023 20:594,78939,247,43613,281,0002,043,0002,269,184
10Jan 3, 2023 20:594,96476,519,90215,883,76302,289,664
11Jan 3, 2023 20:594,96799,473,14015,894,56102,293,760
12Jan 3, 2023 20:594,97382,989,04915,912,45902,297,856