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 listNov 29, 2024 17:46Joad NacerJoad NacerScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:464,43934,242,60213,192,0001,014,0002,531,328
2Nov 29, 2024 17:464,44438,119,60513,205,0001,015,0002,531,328
3Nov 29, 2024 17:464,44629,907,69413,210,0001,016,0002,531,328
4Nov 29, 2024 17:464,44636,136,89913,210,0001,016,0002,433,024
5Nov 29, 2024 17:454,44833,900,57513,216,0001,016,0002,531,328
6Nov 29, 2024 17:454,44834,371,96313,218,0001,016,0002,437,120
7Nov 29, 2024 17:454,45334,140,70713,232,0001,017,0002,531,328
8Nov 29, 2024 17:464,46130,153,92713,257,0001,019,0002,531,328
9Nov 29, 2024 17:464,46628,245,82013,272,0001,020,0002,531,328
10Nov 29, 2024 17:464,47232,492,47613,289,0001,022,0002,437,120
11Nov 29, 2024 17:464,56033,206,23514,591,00002,428,928
12Nov 29, 2024 17:464,57839,489,05713,602,0001,046,0002,269,184