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 18:52Hal FHal FScore: 4,809Success
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 18:524,73435,482,02613,129,0002,019,0002,289,664
2Jan 3, 2023 18:524,73936,839,75413,144,0002,022,0002,531,328
3Jan 3, 2023 18:524,74042,456,47013,146,0002,022,0002,379,776
4Jan 3, 2023 18:524,75240,018,62713,180,0002,027,0002,277,376
5Jan 3, 2023 18:524,75840,216,95813,197,0002,030,0002,273,280
6Jan 3, 2023 18:524,77732,006,71513,249,0002,038,0002,277,376
7Jan 3, 2023 18:524,80932,528,07113,337,0002,051,0002,269,184
8Jan 3, 2023 18:524,81132,684,69114,370,0001,026,0002,531,328
9Jan 3, 2023 18:524,81936,265,72213,366,0002,056,0002,289,664
10Jan 3, 2023 18:524,96472,124,31615,884,24302,293,760
11Jan 3, 2023 18:524,98661,937,64515,956,15202,174,976
12Jan 3, 2023 18:524,99086,831,92215,967,94002,174,976